I am using this code to display a page included in another:
Code:
<?php include('<?echo "$id";?>'); ?>
So I link this way:
www.mysite.com/?id=1
How do I make links on the page to advance 1 or decrease 1?
Code:
<a href="http://www.mysite.com/<?echo "$id+1";?>
or
<a href="http://www.mysite.com/<?echo "$id-1";?>