RE: [PHP] Inserting variables into a template file

From: Date: Wed, 16 Aug 2000 15:07:37 +0000
Subject: RE: [PHP] Inserting variables into a template file
Groups: php.general 
Request: Send a blank email to php-general+get-12027@lists.php.net to get a copy of this message
Well you can mark the entries as php tags and then your all set. Eg. <HTML><HEAD>.... ... The color of my car is: <? /*Do something to fetch the data and then*/ echo $color ?> .... </BODY> </HTML> Or if you want a more inefficient way (becuase you need to do more) than try php templates. An article may be found at phpbuilder.com. Mike. -----Original Message----- From: Tim West [mailto:Tim.West@displaypost.co.uk] Sent: Wednesday, August 16, 2000 11:04 AM To: PHP Subject: [PHP] Inserting variables into a template file Hi, I have a template html that I want to read, swap out some variables where their entry is marked in the file and then pass it to the browser. Can anyone tell me how to do this? Thanks in advance. Tim -- Digital Media Developer The Display Post - www.displaypost.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#12027) next »