![]() |
Call to undefined method CI_DB_mysql_driver::row() - 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: Call to undefined method CI_DB_mysql_driver::row() (/showthread.php?tid=11512) |
Call to undefined method CI_DB_mysql_driver::row() - El Forum - 09-11-2008 [eluser]Bramme[/eluser] Okay, I've probably been staring too long at my screen and I just can't see it, but what's wrong with this? Code: function edit($tutID = NULL) { Call to undefined method CI_DB_mysql_driver::row() - El Forum - 09-11-2008 [eluser]m4rw3r[/eluser] You have to call get() to get the value: Code: function edit($tutID = NULL) { Call to undefined method CI_DB_mysql_driver::row() - El Forum - 09-11-2008 [eluser]xwero[/eluser] When i was looking at the code i couldn't see the problem either, i guess select feels more natural than get ![]() Call to undefined method CI_DB_mysql_driver::row() - El Forum - 09-11-2008 [eluser]Bramme[/eluser] D'oh. How silly of me. |