On Wed, 5 Jun 2002, Renaldo De Silva wrote: > is there a simple way to automatically load a new page according to a > choice made by a user. > > If one persons logs in they go to one page, If another peson logs in they go > to another page?
<? session_start(); if ($_SESSION['userid'] == 1) include 'page1.php'; else include 'page2.php'; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php