/ Published in: PHP
Expand |
Embed | Plain Text
<?php i = 0; foreach($data as $data){ i++; } ?>
Comments
Subscribe to comments
You need to login to post a comment.
<?php i = 0; foreach($data as $data){ i++; } ?>
Subscribe to comments
You need to login to post a comment.
Or you could simply use: count($data);