Re: [PHP] PHP jump to other page

2006-10-05 Thread Richard Lynch
On Wed, October 4, 2006 1:17 pm, Groundhog wrote: > how can I jump to another page after IF..ELSE statement, for example: > > IF (statement == TRUE) >{ stay on this page, index.php } > ELSE { jump to index2.php require 'index2.php'; exit; } -- Some people have a "gift" link here. Know wh

Re: [PHP] PHP jump to other page

2006-10-05 Thread Ivo F.A.C. Fokkema
On Thu, 05 Oct 2006 09:16:17 +0800, Penthexquadium wrote: > On Thu, 5 Oct 2006 01:17:41 +0700, Groundhog <[EMAIL PROTECTED]> wrote: > >> how can I jump to another page after IF..ELSE statement, for example: >> >> IF (statement == TRUE) >>{ stay on this page, index.php } >> ELSE { jump to ind

Re: [PHP] PHP jump to other page

2006-10-04 Thread Penthexquadium
On Thu, 5 Oct 2006 01:17:41 +0700, Groundhog <[EMAIL PROTECTED]> wrote: > how can I jump to another page after IF..ELSE statement, for example: > > IF (statement == TRUE) >{ stay on this page, index.php } > ELSE { jump to index2.php} > > -- > Come and Visit My Blog > http://ubuntu-ku.blogsp

Re: [PHP] PHP jump to other page

2006-10-04 Thread Jo�o C�ndido de Souza Neto
In other hand, if you sent any character yet, you can use. IF (statement == TRUE) stay on this page, index.php ELSE echo "window location=\"index2.php\";"; ""AraDaen"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > If you have not sent any character till that moment,

RE: [PHP] PHP jump to other page

2006-10-04 Thread AraDaen
If you have not sent any character till that moment, you can use: IF (statement == TRUE) { stay on this page, index.php } ELSE { header("Location: index2.php"); cya -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php