I’m using CareerJet API to build my jobsearch website, currently I’m almost done with everything except for one, paginating the gathered data I get from them, I could’ve solve it if its in the documention but apparently there is none and only says
# Basic paging code
if( $page > 1 ){
echo “Use $page - 1 to link to previous page\n”;
}
echo “You are on page $page\n” ;
if ( $page < $result->pages ){
echo “Use $page + 1 to link to next page\n” ;
}
now I don’t know what to put in there to make it work, I’ve tried following the instructions but It only redirect to the first page, this is my first project handling some API and PHP for my project in school and I would like to know how to do it. Please help me cause I really want to know.