Re: Redirect to a new page?

From: Date: Thu, 13 Mar 2003 19:07:26 +0000
Subject: Re: Redirect to a new page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139580@lists.php.net to get a copy of this message
btw.... in your case would be just if/else cheers David. On Thu, 13 Mar 2003, David E.S.V. wrote: > > you can use javascript instead.. > > for example in a jump menu: > > > function seleccionPerfil(form) { > > if (form.perfil.selectedIndex == 0) > > { > > window.location.href="yourpage1.php"; > > } > > > > if (form.perfil.selectedIndex == 1) > > { > > window.location.href="yourpage2.php"; > > } > > if (form.perfil.selectedIndex == 2) > > { > > window.location.href="yourpage3.php"; > > } > > > > } > > > > > On Thu, 13 Mar 2003, Beauford.2002 wrote: > > > Hi, > > > > I have searched around for hours on this and nothing seems to work. I want > > simply to do this.... > > > > if yes - goto thispage.php > > > > if no - goto thatpage.php > > > > Thanks > > > > > > > > > > -- ++++++++++++++++++++++++++++++++ David Elías Sánchez Vásquez Bachiller en Educación PUCP sanchez.de@pucp.edu.pe telf. (51)-1-5255601 ++++++++++++++++++++++++++++++++

« previous php.general (#139580) next »