Index du Forum » » Le coin des codeurs

Auteur

CHOIX LISTE DEROULANTE POUR EXECUTION REQUETE SQL
TILDA
10   

  Posté : 25-09-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="&amp;{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>
< BR>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

http://www.npds.org/viewtopic.php?topic=7721&forum=5