I am working on a pagination.From the index page it goes with a variable .For an example:
viewproduct_by_category.php?categoryid=1
the value 1 comes from database.So the error is ,first time the page shows up all the images that has the categoryid =1 but second time when ever I press next page it shows nothing but the pagination values like <<1.2.3..>>
I figured out the problem but I have no idea how to fix it cause each time the page loads the same page .For the first time
$_SESSION['productcat']=$_REQUEST['categoryid'];
Gets the value but when it reloads the same poage it gets nothing so How can I preserve the value.
I will be very happy if some one help me with this.
Thanks