Re: Newbie HTML-form & PHP question
| From: | Martin | Date: | Wed, 04 Oct 2000 10:26:11 +0000 |
| Subject: | Re: Newbie HTML-form & PHP question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18562@lists.php.net to get a copy of this message | ||
"Bart A. Verbeek" wrote:
>
> Hello,
> I'm creating a form that will allow users to subscribe thereselves to a
> database-mailinglist.
> now I've got one question:
>
> How does PHP handle radiobuttons.
Name alle radiobuttons like "MyButton[]", then you will get the Array
$MyButtons in PHP.
Martin
> I want to let the visitor decide If there
> [male] or [female] and than store the decided entry in the database. Is it
> possible to writre the script so that [male]=1 and [female]=0 (or 'Y' &
> 'N')
> and than store the entry?
>
> I don't know how to. maybe all you can help.
>
> regards
> bart