I have a form with about 50 text boxes named store_number. So when I hit submit it is an array. How can I write a little piece of code that looks at each check box and counts how many are filled out and tells me. This is how I print each number that is filled out. Now how do I count how many values are in the form?
foreach ($_REQUEST['store_number'] as $key=>$value):
if ($value != ""):
print ("<font size=\"2\" face=\"Tahoma, Arial\">$value, </font>");
endif;
endforeach;
I am assuming that it is something close to this, only using the count function in there somewhere, I just can't seem to figure it out. Any help would be great. Thanks!!!