retrieve a cell
| From: | ROUSSY, ISABELLE | Date: | Fri, 21 Jul 2000 22:13:11 +0000 |
| Subject: | retrieve a cell | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1416@lists.php.net to get a copy of this message | ||
Hi,
How do I retrive a variable if I use a form and I want to pass a
selected row to another page. the row contains 2 field. I want want to
retrieve the field[0]. What is the function/format to retieve my
variable
echo "<form method=POST action=choix.php>
<p><select name=choix size=15>\n";
while ($myrow = mysql_fetch_row($result)){
echo "<option>" .$myrow[0]."\t".$myrow[1];
}
so how can I retrieve the variable $myrow[0] in choix.php or the all
line selected
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