SyntaxFix
Write A Post
Hire A Developer
Questions
I have the same problem here, you may use the $GLOBALS array.
$GLOBALS["variable"] = "123"; include ("my.php");
It should also run doing this:
$myvar = "123"; include ("my.php"); .... echo $GLOBALS["myvar"];
Have a nice day.