Hi,
I made a php script that selects a random line in a mysql database using this query : "SELECT FROM sites ORDER BY RAND( UNIX_TIMESTAMP() ) LIMIT 1".
It works well and selects a random line. No problem whit this one.
But as I try to select another entry in another table, in the same page, using this : "SELECT FROM partners ORDER BY RAND( UNIX_TIMESTAMP() ) LIMIT 1", it always selects the same entry!
As if the first random number (the one from the first query) wasn't cleared or something.
Any idea ?
Thanks!