MY_Model construct not working?!? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: MY_Model construct not working?!? (/showthread.php?tid=13657) |
MY_Model construct not working?!? - El Forum - 12-01-2008 [eluser]fatnic[/eluser] Trying to run this bit of code (just to test) and having problems with $this->table_name. Code: class MY_Model extends Model { MY_Model construct not working?!? - El Forum - 12-01-2008 [eluser]fatnic[/eluser] Solved now. I was being an idiot. I was still calling Code: parent::Model(); Code: parent::MY_Model(); Whooooooops!!! |