In addition, each item listed needed to be defined in an array:
<input type="checkbox" name="entry[]" value="$row[0]"/>
Then you can call it like this:
$entry = $_POST['entry'];
foreach($entry as $checked)
{
$SqlStatement1 = "UPDATE database_01 SET checked=1 WHERE id=$checked";
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment