If I have $var defined in Page1.php and in Page2.php I have
//Page2.php include('Page1.php'); echo $var;
For what reasons will it not print the value of $var to the screen? The files are in the same directory so paths shouldn't be the issue. I've checked the php.ini file and nothing really jumps out at me. Any ideas?
Thanks