DevChunks

Category: MySQL

MySQL Random Row

To get a random row from your table, you can use the following trick: {code type=php} SELECT * FROM myTable ORDER BY RAND() LIMIT 1

Read More »