Jump to content

Random MySQL result


Spike121

Recommended Posts

Hey, I'll jump right into it. I need a MySQL code that selects a random result from a table.

 

select link
from table1

 

Would that select a random one, or the latest entry? If it wouldn't select a random result, what would? Also, what would select the latest one too? I need both if possible. Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/153605-random-mysql-result/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.