select ranodom record from mysql and php

Use this query “select * from table_name order by rand() limit 1 “

Follow

Get every new post delivered to your Inbox.