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