Re: [PHP] codes in php for going back to previous page

2001-09-21 Thread Tamas Arpad
On Thursday 20 September 2001 21:36, 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 bec

Re: [PHP] Codes in PHP

2001-09-20 Thread Mark
On Thu, 20 Sep 2001 15:49:25 -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

Re: [PHP] Codes in PHP

2001-09-20 Thread Sheridan Saint-Michel
I think maybe you should look at this from a different angle. You say you want to go to the previous page because you don't want to lose any information on the previous page. Do you mean, for example form fields that are filled out on previous pages? You can pass information between pages. This

Re: [PHP] Codes in PHP

2001-09-20 Thread Jason G.
Please only post a question ONCEE 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

RE: [PHP] Codes in PHP

2001-09-20 Thread Johnson, Kirk
I only know of two ways to do page redirects with PHP: the header() function and a META refresh tag. I suppose you could also use PHP to dynamically generate the javascript code you included in your email. Good luck! Kirk > - Original Message - > From: "Wee Chua" <[EMAIL PROTECTED]> > T

Re: [PHP] Codes in PHP

2001-09-20 Thread Jason G.
Please only post a question ONCEE 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 that has: At 03:49 PM 9/20/2001 -0400, Wee Chua wrote: >Hi all

Re: [PHP] Codes in PHP

2001-09-20 Thread Jason Bell
hey, maybe if you post this 10 more times, someone will answer it... This is a good list, if someone has an answer, you will probably get it. You don't need to post the same question multiple times. All that does is annoy the hell out of people. - Original Message - From: "Wee Chua" <