Posted by iulian.ilea on 09/15/06 13:45
Hi,
How can I count how many variables are in an array. I give an example
to make my self clear enough:
$arr[0]="fds";
$arr[1]="fdfs";
$arr[2]=null;
$arr[3]="213";
count($arr) will return 3. I searched on php.net and I couldn't find a
function that return 4 (in this example).
Navigation:
[Reply to this message]
|