Hi there,
Thanks for the above... if I re-explain...:
class MYCLASS {
var fiftytwo = "12";
}
I can call the above from any function within the class MYCLASS.
config.inc.php
$weburl = "myweburl";
class.inc.php
include("config.inc.php");
class MYCLASS {
function HELLO($variablesrequired) {
$variablesrequired = $variablesrequired.$weburl;
}
}
The above example however would not work unless I got the variable via the function itself if that makes sense. Anyway around this?
Thanks,
Chris