Jump to content

2 Random Queries That Are The Same


Recommended Posts

hey all! This might be one for the SQL forum, but maybe not. Anyways I'm selecting from two mysql tables information. mysql_query("SELECT * FROM tbl1 ORDER BY RAND() ", $db) and mysql_query("SELECT * FROM tbl2 ORDER BY RAND() ", $db) Is there anyway to make the random selection order the same on both queries?? Any tips would be appreciated!! Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...