Forum » » Le coin des codeurs » » CHOIX LISTE DEROULANTE POUR EXECUTION REQUETE SQL
Posté : 25 sept. 2003 à 17:06 
Je ne vois pas comment faire, car j'ai une liste du type:
<FORM>
<SELECT ONCHANGE="SELF.LOCATION=this.options[this.selectedindex].value" NAME ="select">
<OPTION VALUE="&{self.location.href};"SELECTED>Faites votre choix !</OPTION>
<OPTION VALUE="stat1.html">Scores décroissants par niveaux</OPTION>
<OPTION VALUE="stat2.html">Scores décroissants pour un niveau</OPTION>
........
</SELECT>
</FORM>
Et suivant le choix fait par l'utilisateur, la requete SQL qui doit s'executer puis s'afficher est différente.
Or si j'utilise le name (ici "select"), je ne vois pas comment différencier les choix..??
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=7721&forum=5