note 26862 rejected from function.mysql-query by victor

From: Date: Fri, 15 Nov 2002 07:09:48 +0000
Subject: note 26862 rejected from function.mysql-query by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-39522@lists.php.net to get a copy of this message
Why is it this code doesn't produce output in random order? $statement = "SELECT * FROM table ORDER BY rand()"; $result = mysql_query ("$statement");

« previous php.notes (#39522) next »