Well, it's more complicated than that for me actually...
My pages are mostly HTML...
I have a file, header.php, and a file, footer.php
I create my pages like this:
<?php include('header.php'); ?>
loads of html stuff here
sdfsdf
sdfsdf
sdfsdfsdf
<?php include('footer.php'); ?>
If I want to use these variables in the sdsdfsdflskjdflksjdf stuff in the middle, what can I do? Where do I require global.php? if I close a php tag, do I need to require global.php again when I reopen them?
|