Page 1 of 1

Template design

Posted: Wed Jan 04, 2006 6:13 pm
by pinehead18
Of course the age old question, what is the best way to create a template for a heavily used SQL site.

My current lay out is prehaps not the best one, i use a fucntion as my template html function start_headter($body); and $body is the individual html/ coding for everypage.

I've always come into stupid . ' "" ' " problems and was curious is there a better way to handle this.

All my php code is on a functions page, and each page just calls the functions for the functions page.
How should i throw my template in there? Includes/Functions/ Thank you all for your input!

Posted: Wed Jan 04, 2006 7:09 pm
by evilmonkey
Why not use a premade template system such as smarty?