<tr class="centrer"> <td colspan="3"> <h3>Création de compte</h3> </td> </tr> <tr> <td colspan="3"> </td> </tr> <!-- Genre --> <tr> <td class="droit"> <label>Genre:</label> </td> <td> <input type="radio" name="sexe" value="F" <?php echo $client->getSexe() == 'F' ? 'checked' : ''; //Ternary pour la valeur sélectionné ?> >Femme <input type="radio" name="sexe" value="M" <?php echo $client->getSexe() == 'M' ? 'checked' : ''; //Ternary pour la valeur sélectionné ?> >Homme </td> <td> <span class="erreur"><?php echo $messages['sexe']; ?> </span> </td>