Re: does array sorted like you show in example?
| From: | Galkov Vladimir | Date: | Tue, 30 Oct 2001 23:06:52 +0000 |
| Subject: | Re: does array sorted like you show in example? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72932@lists.php.net to get a copy of this message | ||
Good day!
my fingersrun faster my head ;-) ofcourse... MUST be (not in one string...)
function array_element_delete_function($a, $ind)
{
$a[$ind] = $a[0];
unset($a[0]);
sort($a); // <<<<
return $a; // <<<<
}
-----------------
Galkov Vladimir
galkov@kraft-s.ru
ICQ 8487396