Re: RE: [PHP] more questions about switch
| From: | Jayme Jeffman Filho | Date: | Wed, 20 Sep 2000 19:11:58 +0000 |
| Subject: | Re: RE: [PHP] more questions about switch | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3001@lists.php.net to get a copy of this message | ||
The HTTP_POST_VARS contains the value of the option choosed. You have to
name them all with same name.
I hope this helps.
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: Bart A. Verbeek <bodemschat@home.nl>
Para: PHP-DB mailinglist <php-db@lists.php.net>
Enviada em: quarta-feira, 20 de setembro de 2000 10:05
Assunto: [PHP-DB] RE: [PHP] more questions about switch
> 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. 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
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>