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];
unset($a[0]);
return sort($a);
}
ofcourse if count($a) not criticaly large....
Galkov Vladimir
[EMAIL PROTECTED]
ICQ 84873967
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]