Jun 15, 2009

Header and Footer

The importance of using Headers and Footers

Always use a header file that is require_once('myHeader.php'); from the top of every file.

Always use a header file that is require_once('myFooter.php'); from the bottom of every file.

You may leave them empty if you want, but DO put them in place. You WILL need them.

That is true for both the logic PHP side of the application, and for the presentation TEMPLATE side.

0 תגובות:

Post a Comment