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

From: Date: Thu, 20 May 2004 21:22:02 +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-186629@lists.php.net to get a copy of this message
You could include those other php files, eg. switch( $i ) { case 'a': include('a.php'); break; case 'b': include('b.php'); break; } On Thu, 20 May 2004, michael young wrote: > 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 > > -- Jeroen C is quirky, flawed and an enormous success. -- Dennis Ritchie

« previous php.general (#186629) next »