• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to insert corporate details into database

#13
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);

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

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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