Re: Using PHP in Web Pages

From: Date: Tue, 10 Jul 2001 11:59:47 +0000
Subject: Re: Using PHP in Web Pages
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8223@lists.php.net to get a copy of this message
David Cox wrote: > can someone here steer me in the correct direction? > > heres what i want to do. (im sure its possible)?? > > i dont want to have to edit every web page when i change something. can i > make multiple pages, (say a header, footer, links, maintext, and then use > PHP to call those pages up and put them in certain places in a web page? > Without have to set up html frames? Maybe just add a line of code to place > it dynamicaly or something.... > > thanks, dave I think that you should take a closer look at Templates. Templates do just about what you have described there. Templates can be done with PHPlib or with an extension called Fasttemplate. There is even one called "cached fattemplate" out there. I use PHPlib myself. To help you on the way i suggest you look at these: http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/ http://www.phpbuilder.com/columns/david20000512.php3 http://www.phpbuilder.com/columns/sascha19990316.php3 http://www.phpbuilder.com/columns/kendall20001122.php3 -- Michel Laine

« previous php.windows (#8223) next »