I want to create a template driven site. However I want to put the templates in my database. I know that the html code with the php variables are in the template. I inserted the code through a form into a templates table. I have 2 fields name and content.
The thing is when I check the table in the database in the content field I can't see any html tags it only comes up with one word of Text.
and when I call the template from a php page all I get is a blank screen. Can anyone show me how to upload templates into my database as I'm obviously doing it wrong as nothing is displayed.
thanks for any help