Get the last key name in associative array
how can I get the last key name in associative array?
osp: the last one of the array or alphabetical wise or so?
the last one $keys = array_keys($array); echo $keys[sizeof($keys)-1];
Trancer thanks
how can I get the last key name in associative array?
osp: the last one of the array or alphabetical wise or so?
the last one $keys = array_keys($array); echo $keys[sizeof($keys)-1];
Trancer thanks
*
To prove that you're not a bot, enter this code
You must be logged in to post a comment.
VPS - Tomcat - Java - J2EE - Servlet - JBoss - Drupal - Geronimo - B2Evolution - Hosting - phpBB - Database - MySQL - Postgresql - JDBC - Struts - Spring - Hibernate - Eclipse - PHP 5 - SSL - Email - Webmail - Zend - Java 6 - Mambo - Kernel -