canadabeeau Posted November 14, 2009 Share Posted November 14, 2009 Hi, I am having problems with my PHP code, I have 3 files: index.php, header.php and functions.php. (Example code below;) index.php <?php require_once('header.php');?> header.php <?php require_once('functions.php');?> functions.php <?php $test="test";?> the rtequire_once in header.php is not working, it is not pulling across any data fro example $test Can anyone help me with this ASAP please :-) And thankyou in advance Link to comment https://forums.phpfreaks.com/topic/181477-solved-require_once/ Share on other sites More sharing options...
canadabeeau Posted November 14, 2009 Author Share Posted November 14, 2009 I really need help with why this is happening, i also get a 500 error Link to comment https://forums.phpfreaks.com/topic/181477-solved-require_once/#findComment-957311 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.