Hello there,
I've a mysql database which I want to select random quotes everytime. But I have no idea how to do that. My table is shown below:
quotes:
pid|text|link
I wanna select randomly each time. I've tried the following, but no luck.
$SQL = "SELECT text from quotes ORDER BY Rand()";
Please Help if you can. Thank You.
I've a mysql database which I want to select random quotes everytime. But I have no idea how to do that. My table is shown below:
quotes:
pid|text|link
I wanna select randomly each time. I've tried the following, but no luck.
$SQL = "SELECT text from quotes ORDER BY Rand()";
Please Help if you can. Thank You.