Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB