note 31894 added to function.current
| From: | tipman at rack1 dot php dot net | Date: | Thu, 08 May 2003 09:07:10 +0000 |
| Subject: | note 31894 added to function.current | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47675@lists.php.net to get a copy of this message | ||
if you got a array with number as index you get the last index with this:
eg:
$array[0] = "foo";
$array[1] = "foo2";
$lastKey = sizeof($array) - 1;
only a little help :)
--
http://www.php.net/manual/en/function.current.php
http://master.php.net/manage/user-notes.php?action=edit+31894
http://master.php.net/manage/user-notes.php?action=delete+31894
http://master.php.net/manage/user-notes.php?action=reject+31894