Good day!
;-) does array sorted like you show in example?
then the shortest way will be:

$a = array_element_delete_function($a, 2);
function array_element_delete_function($a, $ind)
    $a[$ind] = $a[0];
    return sort($a);

ofcourse if count($a) not criticaly large....

Galkov Vladimir
ICQ 84873967

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to