P PariJain New member Sep 11, 2015 #2 The count() function is used to count the elements of an array, or the properties of an object.
T tuantuanhminh New member Dec 22, 2015 #3 The count() function returns the number of elements in an array. Syntax count(array,mode); get more Mega site of Bible Information
The count() function returns the number of elements in an array. Syntax count(array,mode); get more Mega site of Bible Information
S samir09 New member Feb 22, 2016 #5 Count the array recursively: <?php $cars=array ( "Volvo"=>array ( "XC60", "XC90" ), "BMW"=>array ( "X3", "X5" ), "Toyota"=>array ( "Highlander" ) ); echo "Normal count: " . count($cars)."<br>"; echo "Recursive count: " . count($cars,1); ?> Bulkmailstack
Count the array recursively: <?php $cars=array ( "Volvo"=>array ( "XC60", "XC90" ), "BMW"=>array ( "X3", "X5" ), "Toyota"=>array ( "Highlander" ) ); echo "Normal count: " . count($cars)."<br>"; echo "Recursive count: " . count($cars,1); ?> Bulkmailstack