 |
PHP – Get array length | CoralCode
PHP – Get array length To get the length of an array in PHP is quite simple. You can use 2 functions to do this: count() sizeof() Both functions count all elements in the given array. See it in action: $myArray = array('red','blue','green'); $size = sizeo
www.coralcode.com |
 |