Welcome Guest, Not a member yet? Register   Sign In
How to insert corporate details into database
#14

(11-21-2020, 12:23 PM)InsiteFX Wrote: Try using set on the array.

PHP Code:
public function update_product($product)
{
    $this->db->where('user_name'$lcuser);
    $data = array('temp_1' => $product);
    $this->db->set($data);
    $this->db->update('tbl_members'$data);


No, that didnt work.
Reply


Messages In This Thread
RE: How to insert corporate details into database - by christaliise - 11-21-2020, 12:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB