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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php