Hi Im struggling with this problem, can some one help? I got a series of check boxes dynamically populated. the line looks like below which is part of a While loop.
echo "<td class='brc'><input type='checkbox' name='delz[]' value='$wec' ></td>";
when validating i'm finding very difficult to see at-least once check box is check in the loop. I got the following to work, which identifies vise versa what i need. How do I change this to give me an output when nothing is checked a message echo saying 'nothing checked'?
$selectboxes = $_POST['delz'];
foreach($selectboxes as $A)
{if($selectboxes == ""){echo "Some check boxes are selected !!!"; return;}}