Re: [PHP] open a new html page

2002-06-05 Thread Miguel Cruz
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? -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] open a new html page

2002-06-05 Thread Jay Blanchard
[snip] 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? [/snip] Use a switch statement as below; //start session session_start(); session_register("emailid"

Re: [PHP] open a new html page

2002-06-05 Thread Devrim GUNDUZ
Hi, 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? You could keep the following information in a ta

RE: [PHP] open a new html page

2002-06-05 Thread Cal Evans
store the user's preference in a database. Once they have logged in, use their login or userID to retrieve it form the database and redirect to the appropriate page. =C= * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: Renaldo De