Jump to content

the most confusing include variable...


chmpdog

Recommended Posts

ok, so the file I have includes a file, which then sets a variable, but the variable isnt be transfered to the first file.

 

Oh, to make things more complicated the index includes the another page which echos the variable

 

Here's a visual (-> represents include):

index -> file which uses a switch to include the page -> the page which sets the variable
index -> the page which echos the var

 

I turned on error reporting and it said the varible was not set in both the echo page and the index

 

Please help me echo this variable,

Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/134666-the-most-confusing-include-variable/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.