MySQL Forums
Forum List  »  PHP

Re: Repeated results for rand() LIMIT query.
Posted by: Peter Brawley
Date: March 18, 2015 03:13PM

To ensure different rand() results, give it an argument, eg unix_timestamp().

Options: ReplyQuote


Subject
Written By
Posted
Re: Repeated results for rand() LIMIT query.
March 18, 2015 03:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.