arfink / BISS-TEA

Beverage Industry Sign Shop - Tracking Expense Accounts
2 stars 0 forks source link

Design PHP infrastructure #2

Closed jared-skinner closed 8 years ago

Sanjurjo7 commented 8 years ago

Let's get our HTML template squared away before we start hacking it to PHP bits.

arfink commented 8 years ago

Agreed.

jared-skinner commented 8 years ago

I have a php handling function build into index.php. it takes the given url and grabs the html template file and php files which go with them. It then takes the processed output and shoves it into the main template file and echos the whole thing.

The big trick is ==body== in the main html template file. this gets replaced with the page's contents.