Shuffling a mySQL Result Set

From: Date: Mon, 31 Jul 2000 00:41:59 +0000
Subject: Shuffling a mySQL Result Set
Groups: php.general 
Request: Send a blank email to php-general+get-9087@lists.php.net to get a copy of this message
Hello, Say I run the following mysql query: $result = mysql_query ("SELECT id FROM table WHERE id in (1,2,3,4)"); Is it possible to run the shuffle() function on $result e.g. shuffle ($result); Would this shuffle the result set e.g. randomize? Thanks! Andrew digi-FX ------------------------------- http://www.digi-FX.net

« previous php.general (#9087) next »