In questo form di ricerca per "GENERE" si elencano i vari generi in ordine sparso.-
Come posso farli elencare in ordine alfabetico ?
Grazie a chi mi saprà rispondere
Jack
In questo form di ricerca per "GENERE" si elencano i vari generi in ordine sparso.-
Come posso farli elencare in ordine alfabetico ?
Grazie a chi mi saprà rispondere
Jack
??Codice PHP:
ORDER by 'Nick' ASC
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
ho dimenticato questo:
<?
$query = "SELECT DISTINCT `GENERE` FROM `articoli`";
$esegui = mysql_query ($query,$db) or die ("Connessione non riuscita");
$option="<select name=\"select_genere\">";
while ($array = mysql_fetch_array ($esegui)){
$array[GENERE] = stripslashes($array[GENERE]);
$option.="<option value=\"$array[GENERE]\">$array[GENERE]</option>";
}
$option.="</select>";
echo "$option";
?>
cos'è sto pezzo?Codice PHP:
<?
$query = "SELECT DISTINCT `GENERE` FROM `articoli`ORDER by 'GENERE' ASC";
Codice PHP:
$esegui = mysql_query ($query,$db) or die ("Connessione non riuscita");
Codice PHP:
$option="<select name=\"select_genere\">";
while ($array = mysql_fetch_array ($esegui)){
$array[GENERE] = stripslashes($array[GENERE]);
$option.="<option value=\"$array[GENERE]\">$array[GENERE]</option>";
}
$option.="</select>";
echo "$option";
?>
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
Ti ringrazio, sei stato gentilissimo
prego!
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made