• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call to undefined method CI_DB_mysql_driver::row()

#1
[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) {
    if ( ! isset($tutID) OR ! is_numeric($tutID)) {
        redirect('/admin/tutorial/overview');
    }
    $this->db->where('tutId', $tutID);
    $query = $this->db->select('tutorial');
    $data['data'] = $query->row();
}
I get the error mentioned in the title...


Messages In This Thread
Call to undefined method CI_DB_mysql_driver::row() - by El Forum - 09-11-2008, 07:39 AM
Call to undefined method CI_DB_mysql_driver::row() - by El Forum - 09-11-2008, 07:46 AM
Call to undefined method CI_DB_mysql_driver::row() - by El Forum - 09-11-2008, 07:50 AM
Call to undefined method CI_DB_mysql_driver::row() - by El Forum - 09-11-2008, 07:57 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.