[PHP] Fatal error: Call to undefined method

2010-08-20 Thread TransientSeeker
Greetings, I'm having a very simple problem that I can't seem to find the solution to. I try and access a method in this class I made called MyPropertyManagement... the method is named get_complexes(). I try and strip down the entire class to just focus on this problem with the hopes of it

Re: [PHP] Fatal error: Call to undefined method

2010-08-20 Thread Jo�o C�ndido de Souza Neto
Try this: ?php class PropertyMgmt { function PropertyMgmt() { global $complexes; /* yes I know using globals is dangerous, I will fix this soon! :-) */ } public function get_complexes() { /* null */ } } // end class -- João Cândido de Souza Neto TransientSeeker