I need some help counting multi-dimensional arrays. Here what I have:
<?
$Master_Log_Record[0][0] = "0";
$Master_Log_Record[0][1] = "99/99/99";
$Master_Log_Record[0][2] = "0.0.00.000";
$Logs = count($Master_Log_Record);
echo $Logs;
?>
It prints the number two. I want it to count the number of first dimensions, like: $Master_Log_Record[0][], $Master_Log_Record[1][], would count as two, despite the number of items in each section of the array. When I echo $Logs, I want it to return 1, sice that is the number of first-dimensional items. I'm new to multi-dimensional arrays, so pardon my terms.