I have a shopping cart that is already built and ready to go. Except that it needs some major changes. For the most part I understand the php code. The part that is confusing is the html code that is stored in the database. The database is set up with a table that contains template information, like the header and footer along with everything else you would see on the page. There is a function in the php script that uses a Select to get the templated information from the database. From there I can't really see that it is doing anything with the template information. I have never seen this before, does anyone have any advice or good source that could help me understand this?