Jump to content

Templating system or how to avoid repetition


Bule

Recommended Posts

If I have a HTML page that has 400+ tables on it, all similar, just the contents differ. All the text is static. Is there a way to use a template? The tables are all small - 3 rows. Is there a better way to create such a HTML table? I have thought about using PHP and Smarty templates, and then to put the table data in a SQL database, but I'm thinking that that might be a lot of CPU overhead to generate static content just to avoid having a very large (>4700 lines and growing) HTML file... I am using CSS to take care of the formatting, all that is in the HTML file is HTML...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...