Welcome to WebmasterWorld Guest from 220.127.116.11
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.