store a <selected><option> type??

From: Date: Thu, 03 Aug 2000 19:40:37 +0000
Subject: store a <selected><option> type??
Groups: php.db 
Request: Send a blank email to php-db+get-1764@lists.php.net to get a copy of this message
Hi, I want to keep the value of the selected myrow[0] in this loop in a variable in this page echo "<p><center><select name=choix size=15>\n"; while ($myrow = mysql_fetch_row($result)){ echo "<option value=".$myrow[0].">" .$myrow[0]."\t".$myrow[1]; echo "\n"; } echo "</select></center></p>"; //can I store it here $var = ?? thanks -- Isabelle Roussy Bell Canada IS/IT - Billing Requirements 700 de La Gauchetiere W B8W2 Montreal Qc H3B 4L1 Mailto:isabelle.roussy@bell.ca Office (514) 391-7939 Fax (514) 393-8162

« previous php.db (#1764) next »