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 Link to comment https://forums.phpfreaks.com/topic/257210-query-string/ 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()); Link to comment https://forums.phpfreaks.com/topic/257210-query-string/#findComment-1318449 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 Link to comment https://forums.phpfreaks.com/topic/257210-query-string/#findComment-1318455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.