hidden type
| From: | ROUSSY, ISABELLE | Date: | Tue, 01 Aug 2000 15:10:35 +0000 |
| Subject: | hidden type | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1672@lists.php.net to get a copy of this message | ||
Hi,
I want to keep the value of selected <option> in another variable than
his form. BEcause I need two forms and I need to send the selected
<option> to both submitted 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>";
mysql_close($db);
?>
<p><input type=submit value="Consult Selected application/Entity">
</form>
<form method=POST action=modif.php><INPUT type=hidden name=acronym
value= >
<input type=submit value="Modify Selected Application/Entity"></form>
how can I send $choix to the other form modif.php?
--
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