koorb on 04/21/08
Last Edited at 04/21/08 06:33am
$keys = array_keys($array);if(!empty($keys)) { $last_key = array_pop($keys); $array[$last_key]['isLast'] = true;}
Report this snippet Tweet
Comment:
You need to login to post a comment.