Re: Codes in PHP
| From: | Jason G. | Date: | Thu, 20 Sep 2001 21:00:59 +0000 |
| Subject: | Re: Codes in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68067@lists.php.net to get a copy of this message | ||
Please only post a question ONCEEEEEE
PHP does all of it's work on the server, Going back to a previous page (without reloading it) is done by the Web Browser.
The only way I know of is maybe to have php generate an empty page html that has:
onLoad="javascript:history.go(-2);" in the body tag
At 03:49 PM 9/20/2001 -0400, Wee Chua wrote:
Hi all, I know how to forward a page with PHP, but what if the page I want to forward is the previous page or last page. In javascript, the code is like javascript:historygo(-1). The reason why I want to go back to previous page is because I don't want to lose any information on previous page. Can anyone help? Thank you. Calvin Chua -- 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