note 26863 rejected from function.rand by victor

From: Date: Fri, 15 Nov 2002 07:09:57 +0000
Subject: note 26863 rejected from function.rand by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-39523@lists.php.net to get a copy of this message
This is not producing a random order for me.... $statement = "SELECT * FROM table ORDER BY rand()"; $result = mysql_query ("$statement"); What gives? It worked before I upgraded to the newest version. When I input the statement at the mysql prompt it works. Doin't this way doesn't.

« previous php.notes (#39523) next »