Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Update Query in Codeigniter Using Multiple Where Condition

public function update_row(){
		
		$update_rows = array('name' => 'rincky');
		$multipleWhere = array('id' => $ids, 'name' => $name, 'status' => 1 );

		$this->db->where($multipleWhere);		
		$this->db->update('user', $update_rows);	
		
	}	
Source by wlearnsmart.com #
 
PREVIOUS NEXT
Tagged: #Update #Query #Codeigniter #Using #Multiple #Where #Condition
ADD COMMENT
Topic
Name
5+6 =