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: Google [Bot], Yahoo [Bot] and 1 guest