php count

Posted by Paidboom - 1 year ago

php count : Use the PHP count() or sizeof() function. You can simply use the PHP count() or sizeof() function to get the number of elements or values in an array.

PHP count() Function

<?php
$cars=array("Ram","sheeta","Hanumanji");
echo count($cars);
?>