/ Published in: SQL
This is by no means the most efficient way to do this, in terms of performance.
It is however the easiest way.
It is however the easiest way.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT * FROM `table` ORDER BY rand() LIMIT 1