Re: Go Back Problem
| From: | StDog | Date: | Sat, 27 Nov 2004 07:45:26 +0000 |
| Subject: | Re: Go Back Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202928@lists.php.net to get a copy of this message | ||
В сообщении от Суббота 27 Ноябрь 2004 04:59 Cyrus написал(a):
> Dear All,
>
> I have a problem of back to the previous page in php.....
> I need to create a form let people to fill in .It can let user to preview
> the form, if information is not correct , user can back to previous page
> and correct it, I have used the javascript : OnClick='history.go(-1)'
> and OnClick='history.back()' in php , but it can not works....pls help
> me.
>
> Thanks and Regards,
>
> Cyrus Chan
you must store return point samewhere.
f.e. in hidden area in your form, or in $_SESSION array