Hi and thanks everyone above for trying to help.
This php page is a one-size fits all page for static pages.
You pass it the name of the template (via querystring) and the script should grab the template and display it!
Basically, it's called like this:-
pagecontent.php?reqpage=Static_SEO
In this case, Static_SEO is the template name.
SirAdrian, all the templates I've tested this with are certified error free... non of the templates are a problem.... it's this code.
Can I ask everyone to refer back to my original code above and just note that $reqpage is a string variable pulled in from the querystring.
I'm sure the last line is where the error is (maybe?) because the value of $reqpage definitly comes through.
Any ideas?
|