Re: Tutorials sites

From: Date: Thu, 01 May 2003 20:58:47 +0000
Subject: Re: Tutorials sites
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146006@lists.php.net to get a copy of this message
On Thu, 1 May 2003, Ron Clark wrote: > Anyone know of good tutorials on how to use just one php template page to > run a site. In other words using one index.php page that rewites itself with > each click on a link. Make sense? I have seen them before, just can't > remember the links. There isn't any big trick to that. You simply write an index.php script with a big switch($state) statement in it and pass your state from one request to the next. The current state will then determine what the script displays. -Rasmus

« previous php.general (#146006) next »