<table> <tr> <td>Votre recherche : </td> <td><input type="text" name="mot_recherche" id="mot_recherche" /></td> </tr> <tr> <td> <input type="submit" name="rechercher" id="submit_reserv" value="Rechercher" /> </td> </tr> </table> <?php if (isset($_GET['envoi_choix'])) { $liste_sous_types = $mg->getListeSousTypes($_GET['choix']); $nbr3 = count($liste_sous_types); ?> <table> <tr> <td> <select name="choix2" id="choix"> <option value="">choisissez un sous type</option> <?php for ($i = 0; $i < $nbr3; $i++) { ?> <option value="<?php print $liste_sous_types[$i]->id_sous_type_article; ?> ">