On Thu, 5 Oct 2006 01:17:41 +0700, Groundhog <linuxmurah@xxxxxxxxx> 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.blogspot.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php if (!statement) { header('Location: index2.php'); exit; } // other codes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php