abda53
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Posts posted by abda53
-
-
-
This is how I normally do this.. maybe not the best way, but it works for me.
<input type="checkbox" name="delete" value="1"> delete 1<br> <input type="checkbox" name="delete" value="2"> delete 2<br> <input type="checkbox" name="delete" value="3"> delete 3
<? foreach ($_POST['delete'] AS $var=>$val) { //do value checking... //then.. mysql_query("DELETE FROM `table` WHERE id='$val'"); } ?>
Arrays
in PHP
Posted
True, but what he was seeing was just notices, not true errors. You are right though, it should be coded so that there isn't anything to report in the first place