You could try using a foreach loop to cycle through each $_POST...if you begin the name of your checkbox elements with something like 'chk_', it would be easy to filter them out from all the other form elements by using a substring search... <input type="checkbox" value="checked" name=chk_nameHere></input>
<?
foreach ($_POST as $key => $value)
{
if(substr($key, 0, 4) == 'chk_')
{
//only checked checkboxes will post...
echo $key.' was checked!';
}
}
?>
hope that gives you a start
johnsquibb
Junior Poster in Training
84 posts since Nov 2007
Reputation Points: 14
Solved Threads: 14
Skill Endorsements: 0
johnsquibb
Junior Poster in Training
84 posts since Nov 2007
Reputation Points: 14
Solved Threads: 14
Skill Endorsements: 0