Re: How to make program execution go to another file?

From: Date: Thu, 20 May 2004 21:33:46 +0000
Subject: Re: How to make program execution go to another file?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186632@lists.php.net to get a copy of this message
This works providing there has NOT been any header (HTML) info outputed. if (1==a) header("Location: thisotherfile.php"); > Hi, > I want program execution to go to one of several other files > based on a decision. > For Example. > > if (1==a) > go to this .php file > > if (1==b) > go to that .php file > > if (1==c) > go to the other .php file > > > Thank you for your time. > > Michael

« previous php.general (#186632) next »