How can you use foreach() and $_POST to retrieve and display all of the information including values from checkboxes where the checkboxes were not checked?
For examplewill display all of the values except for the values from checkboxes that were not checked.PHP Code:$a=0;
foreach ($_POST as $field[] => $value[])
{echo "$field[$a] = $value[$a]<br>";$a++;}
any ideas?



Reply With Quote


Bookmarks