Re: checking if checkbox is checked
| From: | Michel 'ZioBudda' Morelli | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: checking if checkbox is checked | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56487@lists.php.net to get a copy of this message | ||
On Wed, 4 Jul 2001, Richard Kurth wrote:
I have no try, but..
>
><input type='checkbox' name='interest' value='basic'>
><input type='checkbox' name='interest3' value='Internet access
>'>
><input type='checkbox' name='interest1' value='pro'>
><input type='checkbox' name='interest4' value='domain name'>
><input type='checkbox' name='interest2' value='platinum'>
change interest* in interest[] (without number in []).
in the .php file use
if (count($interest) > 0)
{ echo "ok";
}
else echo "no one check!!!!";
bye
--
Non capisco tutta questa eccitazione per il multitasking:
io sono anni che leggo in bagno
[BUONGIORNO]
--
Michel <ZioBudda> Morelli michel@ziobudda.net
ICQ UIN: 58351764 PR of Linux in Italy
http://www.ziobudda.net http://www.linuxlab.it