Code Library: PHP
put in PHP files; E.g if(date('l')=='Monday') print 'Oh no it's Monday!';
Load order for PHP files
PHP files are included and loaded in the following order (your files are in bold):
- System global
top.inc
loaded before headers- System header including
<html> <head>
and<body>
tags and CSS and JS files in the<html> <head>
header.html
your template headerhead.inc
your php head file- System page content beginning with h1 tag and system messages
foot.inc
your php foot filefooter.html
your template footer- System footer including closing html </body> and </html> tags
bottom.inc
your final php file