Forum Moderators: coopster
I have to work on PHP4 OOP for a project and facing a NOTICE problem. Since I am a 'detailed' coder therefore I want my script to be free of any warning, notice or such things which are normally hidden or in other words many developers hide.
I declared a data member as
class clsName {
var $visioVoto;
function checkMe() {
echo $this->$visioVoto;
}
}
I get a NOTICE OF VARIABLE UNDEFINED. Why is this happening? because I already declared it in the class and accessing with $this.
thank you