Hey,
I am just wondering if there is any way (that you guys/gals know of) to have IF statements work globally.
Example.
<?php
include ("header.php");
echo "blah blah blah";
include ("footer.php");
?>
Now inside the header there is an IF statement, and inside the footer there is the closing brace (})
I need this for connecting to a database throughout my entire site and I don't want to have to put it at the top and bottom of each document. If I don't have to anyways.
Thanks in advance for any help,
-Travis