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.
Code: Select all
global $this; //-- THIS LINE
print "this equals: $this<BR>";
$this = 1;
print "this equals: $this<BR><BR><BR>";
Users browsing this forum: Bing [Bot] and 3 guests