Well, your nasty parse error is because you have 2 opening ( and 3 closing
) on that line.
A quick way to get the very last element of a 2-d array is to use:
On Sat, 28 Sep 2002, Phil Powell wrote:
> The following produced a rather nasty parse error:
> echo ($idArray[sizeof($idArray)]));
> I have a 2-dimensional array $idArray that I must obtain the LAST element of that
>2-dimensional array.. how do I do it?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php