How do you use another variable from another php page?
Include that other (local) PHP script, then use the variable.
Thanks. I tried using: include("html/index.php");
It showed the whole index.php page above the page I have that included on..?
That's to be expected.
Now, why do you want to use the variable in question from html/index.php ?
I just didn't want to make another one on the page. To be expected? So How do I stop that?
Create another script with your variables, then include it to both index.php and your other page. Effectively, you want some configuration variables.