ohdang888 Posted January 21, 2008 Share Posted January 21, 2008 i'm getting this error: Incorrect arguments to RAND whats wrong? $new_games = mysql_query("SELECT game_picture_url, title, type FROM game WHERE type = 'Action' ORDER BY RAND(type) LIMIT 4") or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/87116-incorrect-query/ Share on other sites More sharing options...
cooldude832 Posted January 21, 2008 Share Posted January 21, 2008 http://www.phpfreaks.com/forums/index.php/topic,125759.0.html Link to comment https://forums.phpfreaks.com/topic/87116-incorrect-query/#findComment-445541 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.