I have a class:
class Site { public static $url; } I assign a value to it: Site::$url = "whatever";
I have another class:
class Something { public function __Construct() { echo Site::$url; // does not seem to have scope? } } How do I give scope to the Something class.
Site::$url = "whatever";before callingnew Something();