I have a paginate script running, however there are several thousand results returned on every search, i can tweak it so it only shows say the first 200 or so, however this is done on the client side, the code still selects all the data from the database - i cannot limit the results in the sql select statement as the php side uses this already;-
$sql = mysql_query("SELECT * FROM book LIMIT $from, $max_results");
How do i get the php script to only draw the first 200 results rather than collecting several thousand and having to inefficiently filter the data????
Any and all advice most welcome
thanks in advance