View Single Post
Old 09-01-2011, 01:13 PM   #6 (permalink)
abe4kom
The Visitor
 
Join Date: Sep 2011
Posts: 1
Thanks: 0
abe4kom is on a distinguished road
Default This does not paginate the results

Quote:
Originally Posted by Tanax View Post
You will simply have to provide it in the arguments, if you read the descriptions of the functions, you will see that it's pretty easy to understand.

PHP Code:
$p $_GET['page'];

$result $api->search(array( 'keywords' => $keyword ,'location' => $location ,'page' => $p ,'pagesize' => 10)) ; 
Page argument being the current page, and pagesize being the amount of results you want displayed on the current page.
I don't think you understood the question. I am having the same problem and after implementing your suggestion I still get the same single page with 20 jobs but the total jobs found is about 119234 in 2341 pages.
Could someone take a look at the code and tell me exactly where to insert what so the results will appear as pages (which can be clicked to open them)
abe4kom is offline  
Reply With Quote