Advertisement
Guest User

Untitled

a guest
May 27th, 2015
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. $count = 0;
  2. foreach($tab AS $key => $value)
  3. {
  4. if(empty($value)) $count++;
  5. }
  6. return $count;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement