Welcome Guest, Not a member yet? Register   Sign In
You must use the "set" method to update an entry
#2

PHP Code:
function editInfo($data)
{
  
    $this
->db->set($data);    
    $this
->db->where('id'1);
    $this->db->update('tbl_info'$data); // the error refers to the given line of code

    return TRUE;

What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: You must use the "set" method to update an entry - by InsiteFX - 06-27-2022, 11:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB