Re: Radio Button Returns (Pleasre Read)
| From: | Nathan Cook | Date: | Sat, 17 Mar 2001 00:01:18 +0000 |
| Subject: | Re: Radio Button Returns (Pleasre Read) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44345@lists.php.net to get a copy of this message | ||
This question baffles me. Just to clarify do you have at least two radio
buttons on this page and are they both under the same name?
It also could be if the HTML you mailed the list is the same you have in
your generated page then you may want an '=' sign between the value"index"
.:: Nathan Cook [ ncook@pcsedu.com ] ::.
PCS Edventures.com
Programmer :: Systems & Network Administrator
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
\"You know you\'re in big trouble when you try to escape character your
e-mail\'s\"
----- Original Message -----
From: "Fred" <fred@aybsl.net>
To: <php-general@lists.php.net>
Sent: Friday, March 16, 2001 4:22 PM
Subject: [PHP] Radio Button Returns (Pleasre Read)
> this is the code:
> $page .= "<input type =\"radio\" name=\"pageid\"
> value\"$info[PageID]\">";
>
> this is the html source generated:
> <input type ="radio" name="pageid" value"index">
>
> and this is what $pageid returns:
> 'on'
>
> 2 questions is
> why? and how do i fix it?
>
> thanks to all who take the time to awnser :-)
> ~Fred
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>