I have a variable called $name in my atlas.php file. I then have another php file called display.php where I want to print out the value of $name what was established in the other file.
The research I did led me to include, but when I do
include 'atlas.php';
in my display.php file, it displays all of the work that is inside of atlas.php. I simply want access to the variable, how would I do that?