Re: Go Back Problem

From: Date: Fri, 26 Nov 2004 10:29:22 +0000
Subject: Re: Go Back Problem
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-26664@lists.php.net to get a copy of this message
You cannot use JS inside PHP. PHP is a server-side language (runs on the server), while JS is a client-side one (runs on user's browser). At any case, if you have questions regarding PHP, you should ask them at php-general@lists.php.net, and not at webmaster@php.net. On Fri, 2004-11-26 at 12:08, Cyrus wrote: > 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 -- Never forget that: 1. "Sure UNIX is user-friendly! It's just picky about who its friends are!" 2. "The day that Microsoft make a product that doesn't suck, is the day they start making vacuum cleaners.." 3. "Windows is a 32bit port for a 16bit GUI for an 8bit OS made for a 4bit CPU by a 2bit company that can't stand 1bit of competition!"

« previous php.mirrors (#26664) next »