• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
excuse my ignorance

#2
[eluser]JHackamack[/eluser]
After you have done validation you can use:
Code:
foreach($price as $key=>$value) {
$update = array('price_column'=>$value);
$this->db->where('column_id',$key);
$this->db->update('table_name',$update);
}


Messages In This Thread
excuse my ignorance - by El Forum - 03-04-2011, 11:42 AM
excuse my ignorance - by El Forum - 03-04-2011, 11:47 AM
excuse my ignorance - by El Forum - 03-04-2011, 01:03 PM
excuse my ignorance - by El Forum - 03-04-2011, 04:18 PM
excuse my ignorance - by El Forum - 03-04-2011, 04:38 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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