This a a form with a field
<label for="sec1-prenom">Prénom<span class="requis">*</span></label>
<input type="text" name="sec1-prénom" class="required"/>
and here is the loop to get the values
foreach($_POST as $name => $value) {
$myval .= $name .' : '.$value ."\r\n"; }
when i do the loop to get the value, the "name" field is : prˢnom (garbage)
what i need to do to get the proper utf8 value ?
note, as DAVE said, my for value dont match the name value. question, why it's should. and in fact, i just looking for a proper way to get the value of the label filed, just as written in test with accent and spaces. How i can get that with the $_POST... i think i cannot !