[suspicious - maybe spam] [PHP] how to get checkbox form data as array?
| From: | tx | Date: | Fri, 04 Mar 2005 03:06:09 +0000 |
| Subject: | [suspicious - maybe spam] [PHP] how to get checkbox form data as array? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209973@lists.php.net to get a copy of this message | ||
i create the html form as below
<input type=checkbox name=aaa value=1>
<input type=checkbox name=aaa value=2>
<input type=checkbox name=aaa value=3>
<input type=checkbox name=aaa value=4>
and i receive the form data in php file as below:
global $aaa;
print_r($aaa);
this action only echo "4" not the total array in array format,why?