Xerpher wrote:About the "global $this;", I know that you need touse global inside something like a function, but when else is it used? because that codes' global is certainly not in a function.
global $this; //-- THIS LINE
print "this equals: $this<BR>";
$this = 1;
print "this equals: $this<BR><BR><BR>";
Users browsing this forum: No registered users and 2 guests