Welcome to WebmasterWorld Guest from 188.8.131.52
I'm very new in this php world and I'd really appreciate your help.
I have 2 files. a.php and b.php
a.php contains a variable ($x) value that I want to use in b.php
b.php executes a.php: require_once('a.php') but this is not enough to pass the $x value.
How can I set $x global in order to user its value trough the other file?
Sorry about the naive nature of this question.
Thanks in advance.
$g_szMyGlobalString = "Hello, World!"