SELECT champ1,champ2... FROM ta_table ORDER BY rand() LIMIT nombre_de_resultat_vouluhttp://dev.mysql.com/doc/refman/5.0/fr/mathematical-functions.html
array_rand($array_resultant_de_ta_requete, $nombre_de_resultat_voulu)
SELECT champ1,champ2... FROM ta_table ORDER BY rand() LIMIT nombre_de_resultat_voulu
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question