scatterprose
New Member
I'm trying to find the number of input boxes that aren't empty, but I'm getting a value of 1 every time. what am I doing wrong?\[code\]foreach( $_POST as $key=> $value ) { if ($value!='' && $key!='add') { $count = count($value); } }echo $count;\[/code\]