Xu Wei Jie Posted February 25, 2009 Share Posted February 25, 2009 From a php file , i have some variables and an include statement that leads to another php file. How do I make these variables accessible to the file that I included? Quote Link to comment https://forums.phpfreaks.com/topic/146916-solved-include-function/ Share on other sites More sharing options...
premiso Posted February 25, 2009 Share Posted February 25, 2009 They should be accessible as long as they were defined before the include. Quote Link to comment https://forums.phpfreaks.com/topic/146916-solved-include-function/#findComment-771312 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.