Hi everyone
I am having some problems with variable scope in my php classes. I thought
varibles declared in classes were visble throughout the class, but I am
finding this is not the case.
What is happening is that when functions in my class go to access variables
they are returning nothing even though they have had values assigned..
Any idea what is going on?
Thanks
Hamilton
"the web site for web sites?
I am having some problems with variable scope in my php classes. I thought
varibles declared in classes were visble throughout the class, but I am
finding this is not the case.
What is happening is that when functions in my class go to access variables
they are returning nothing even though they have had values assigned..
Any idea what is going on?
Thanks
Hamilton
"the web site for web sites?
Comment