Code: Select all
SELECT * FROM $table_name where status='yes' ORDER BY RAND() limit 1what makes the difference?
and if it slow, how slow is it?
thanks,
Moderator: General Moderators
Code: Select all
SELECT * FROM $table_name where status='yes' ORDER BY RAND() limit 1