[Php-it] Ordinare un array ma con eccezioni...

Emiliano Gabrielli (aka AlberT) AlberT at superalbert.it
Fri Mar 2 17:37:31 CET 2007


On Friday 02 March 2007 17:06, RedFoxy wrote:
> voi che idee avete in merito? cosa mi consigliate?

unset($array[$scelta_da_utente]);
usort($array ...)
array_unshift ( $array, $scelta_da_utente ) ;


+/- :-)

-- 
<?php echo '     Emiliano Gabrielli (aka AlberT)     ',"\n",
'              socio fondatore del GrUSP             ',"\n",
' AlberT_at_SuperAlberT_it   -   www.SuperAlberT.it  ',"\n",
'  IRC:    #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>



More information about the Php-it mailing list