Using the function count(); we can find the number of elements in a array.
$num[]=array(1,2,3,4,5);
echo count($num);
will returns 5.
Using the function count(); we can find the number of elements in a array.
$num[]=array(1,2,3,4,5);
echo count($num);
will returns 5.