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()); Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/87116-incorrect-query/#findComment-445541 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.