I have a php script that browses a database table.
You can page through the database table by
clicking these links:

http://localhost/browse.php?action=first
http://localhost/browse.php?action=prev
http://localhost/browse.php?action=next
http://localhost/browse.php?action=last

When you click the 'action=next' link, the script
displays the next X records (the script remembers
its position within the table).

The script also displays a link to a jpeg of the item
described in the database table.  For example:

http://localhost/images/123456.jpg

If the user clicks the image link, the browser
displays the jpeg.

Suppose the user clicks the 'action=next' link,
and then clicks an image link.  The browser
displays the jpeg.  When the user clicks the
back button, the browser executes the previous
link (ie. the 'action=next' link) which displays
the next page of database records.

I want the browser to NOT display the next page
of data.  I want the browser to stay on the page
that contains the link to the jpeg the user clicked.

How can I prevent the previous link from being
executed when the user clicks the back button?

Thanks -
Jim



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to