Re: Previous page ..
| From: | Aaron Sago | Date: | Wed, 23 Aug 2000 03:27:17 +0000 |
| Subject: | Re: Previous page .. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13069@lists.php.net to get a copy of this message | ||
Get rid of the form, use a link... like:
<A HREF="javascript:history.back()"><img src="whatever"></A>
-----Original Message-----
From: Christian <c_hope@smartchat.net.au>
To: php3 <php-general@lists.php.net>
Date: Tuesday, August 22, 2000 11:19 PM
Subject: [PHP] Previous page ..
>Hi,
>
>I'm not sure if the follow problem is
>PHP, Apache, Javascript or a browser problem ..
>So sorry if it's a little off topic ..
>
>I have a PHP page containing links to another page ...
>I pass through a variable .. eg. secondPage.php?id=88
>
>On the following page I have a back button ..
>At the moment it is an image in a form ..
>Now on click or submit I've called
>history.back() and history.previous etc ...
>
>Instead of going back to the previous page ..
>It is calling the same page (secondPage.php?x=45&Y=64)
>and setting variables of it's own X and Y ...
>
>Why is it not going back to the previous page (firstPage.php)
>And what are X and Y ?
>
>Cheers,
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>