Hey guys i need some help if you dont mind...
Ok I am using php to display a list of stuff from mysql and im listing it in pages (i.e. 0 to 10 , 10 to 20) and i have got that to work but in an if statement i want it to say...
if ($page = "") {echo "Next Page";} else {echo "<a href=\listentries.php?page=$page+10\">Next Page</a>"};
How can i do this becuase when i do the code above i dont get errors but the out putted html is 'listentries.php?page=' which isnt right because it should show $page + 10
If ya understand what i mean please try to help im trying to learn PHP by creating a script which involves the use of this if statment to go to the next page.