Radio Button Value not passing
| From: | Michael Conley | Date: | Wed, 25 Oct 2000 22:26:37 +0000 |
| Subject: | Radio Button Value not passing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21953@lists.php.net to get a copy of this message | ||
I am displaying several options via a radio button for a user to choose on a
PHP page, which should forward the value of the radio button chosen to the
next PHP page. However, the value of the radio button is not making it to
the second PHP page. $wow and $wow2 in the following piece of code are
defined through an SQL query earlier. I can do a "print "$wow $wow2";" on
this page and they print fine.
Here is the code:
<input type="radio" name="radiopropnumhtmlv" value="<? echo $wow;
?>"><?
$wow2; ?>
What am I doing wrong? In the next page (called by "<form method="post"
action="newuser.php">"), I can access all of the other variable that were
assigned on the original page (those are input type="text"), but not the
value of this radio button ($radiopropnumhtmlv).
Any ideas?