raptor30506090 Posted February 17, 2012 Share Posted February 17, 2012 Hi guys im a bit stuck this is my problem $query = mysql_query("SELECT * FROM product WHERE productMenu=" . mysql_real_escape_string((int)$id))or die(mysql_error()); im trying to set a limit like this at the end LIMIT $start, $per_page any help would be great Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted February 17, 2012 Share Posted February 17, 2012 $query = mysql_query("SELECT * FROM product WHERE productMenu=" . mysql_real_escape_string((int)$id) . " LIMIT {$start}, {$perpage}")or die(mysql_error()); Quote Link to comment Share on other sites More sharing options...
raptor30506090 Posted February 17, 2012 Author Share Posted February 17, 2012 thank you for that and a fast reply that part seems to be fixed Happy days Quote Link to comment 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.