SELECTINPUT/PHP
| From: | Ayman Mackouly | Date: | Mon, 22 May 2000 01:24:13 +0000 |
| Subject: | SELECTINPUT/PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255@lists.php.net to get a copy of this message | ||
Hi all,
When posting forms, I usually use the input type name as php variable to retreive it's value,
example:
-------------------------------------
<form method="post" name="myForm" action="process.php">
<input type="text" name="frmName" value="test">
Now, in process.php, I use $frmName to retrieve frmName input text value.
-------------------------------------
My problem is that I don't know how to retreive the value of SELECT inputs, i.e. if
"frmName" in about example was of select type, I wouldn't be able to use $frmName to
retrieve it's value. Anyone knows how to do that?
Thanks in advance,
Ayman