I have a link like this:
echo "<b><a href=\"PHP_SELF?offset=$prevoffset\">PREVIOUS</a></b> \n";
To show the result with a next previous control. But I need to pass a parameter of the id_number related to the result.
I already tried this:
echo "<b><a href=\"PHP_SELF?offset=$prevoffset.'?'.$id_number">PREVIOUS</a></b> \n";
But I doesn't work
Can anyone help me?
try:
<a href=\"$PHP_SELF?offset=$prevoffset&id=$id_number\">
Then look for $id in your code.
I've just wrote your code and it shows me the last record inserted with the
Next and Previous links, but when I clik Next, It looses the variable.
in my code I made the assigment of the $id
$id = $id_number.
Maybe what I did wasn't right
Thanks.