on search engine results via xml blekko.com
i use: http://blekko.com/ws/?q=google/rss , adding: &p= *number*
i can different pages of results, e.g. page 1, 1 - 15 results
page 2, 15 - 30 results
like @ bottom of google, number of total results
with 2 (total & page number) there way generate right amount of links @ bottom next button, page1 results, page 2 results ect...
$count total , there 15 results per page
if understand correctly want like:
for($i; $i<10 && $i<$totalpages; $i++) { echo '<a href="search.php?p='.$i.'">'.$i.'</a>'; }
?
Comments
Post a Comment