Re: checkbox into mysql using php <input type="checkbox" name="list[]" value="x">
| From: | pete M | Date: | Wed, 16 Feb 2005 18:22:14 +0000 |
| Subject: | Re: checkbox into mysql using php <input type="checkbox" name="list[]" value="x"> | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38598@lists.php.net to get a copy of this message | ||
foreach($_POST['name'] as $k => $v){
}
moses Woldeselassie wrote:
hi all I need a simple php script to use for html <form action="checkbox.php" method="post"> Select from the list <br /> (check all that apply):<br /> <input type="checkbox" name="list[]" value="x"> <input type="checkbox" name="list[]" value="y"> <input type="submit" name="submit" value="Go!" /> </form> kind regards meberat