Forum Moderators: coopster
<?php
include ("sample.html");
?>
now i would like to include code that will change everytime a page is requested. to be clear, i am trying to customize landing pages which are tied to specific keywords in a pay-per-click ad campaign.
basically, i would like to do two things:
a) change the page title, text within <h1> tags and other elements within the html code of the landing page, based on the requested url.
b) include different external files in the page based on the requested url.
is this possible with php? is this already discussed in a previous thread?
thanks!
Sounds like what you are looking for is a templating engine. Try one of the following:
Smarty
[smarty.php.net...]
Savant2
[phpsavant.com...]
dc