SyntaxFix
Write A Post
Hire A Developer
Questions
You can get the maximum key this way:
<?php $arr = array("a"=>"test", "b"=>"ztest"); $max = max(array_keys($arr)); ?>