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
VPS * JSP * Java * Servlet * J2EE * Tomcat * Dokeos * Elgg * Atutor * PHP5 * FTP * SSL * b2evolution
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
Comments are closed.