hi,
SELECT name
FROM table
ORDER BY RAND()
LIMIT 1Es klappt einfach nicht,
Wie _genau_ sieht deine Query aus?
Welche MySQL-Version benutzt du?
es kommt folgender Fehler:
Unknown column '1560555489' in 'order clause'
http://dev.mysql.com/doc/refman/4.1/en/mathematical-functions.html besagt eindeutig, dass es so geht:
"ORDER BY RAND() combined with LIMIT is useful for selecting a random sample from a set of rows"
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }