how to use multiple where condition in codeigniter

Solutions on MaxInterview for how to use multiple where condition in codeigniter by the best coders in the world

showing results for - "how to use multiple where condition in codeigniter"
Hector
24 Oct 2016
1$data = array('name' => 'Rockky');
2		$multiClause = array('id' => $ids, 'name' => $name, 'status' => 1 );
3
4		$this->db->where($multiClause);		
5		$query = $this->db->get('table-name', $data);	
6		return $query->result();
queries leading to this page
condition sql different in codeignitermultiple where condition search in codeignitermultiple or conditions codeigniterwhere clause in codeigniter for multiple value of single columnmultiple wherein codeigniterhow to use multiple where condition in codeigniter 3fcodeigniter multiple where queryget where codeigniter two conditionssingle field multiple conditions in codeignitercodeigniter get where multiple conditionsuse multiple and in where clause codeigniter 3multiple where condition on 22same column 22 codeignitermultiple where in sql query in codeignitermultiple where condition codeigniteror where and multiple where in codeignitermultiple where codeignitercodeigniter delete query with multiple where conditionif with multiple conditions mysql codeignitercode igniter double where modeltwo conditions codeigniterwhere with multiple and or using codeignitermultiple where condition codeigniter 3 0select query with multiple where condition in codeigniter 4multiple where in codeigniterupdate with multiple condition in codeigniter modeltwo where condition in mysql query in codeignitermultiple where condition in codeigniter 4multiple conditions in where clause in codeigniter4codeigniter where multiple conditionscodeigniter multiple where or where statementsuse multiple where in codeignitercodeigniter multiple where statementsselect query with multiple where condition in codeignitermultiple where condition to update in codeigniterupdate multiple data with multiple conditions which is coming from a loop using codeigniterhow to use multiple where condition using array codeignitertwo condition in codeigniter where condition 24this db where multiple ortwo conditions in where codeigniteruse multiple where condition in codeigniter 3fhow to write 2 conditions in where clause in code codeigniter modelmultiple or where codeignitercodeigniter two where condition not working in unique valuecodeigniter 4 update multiple where condition and orhow to use 2 where condition in codeigniterwhere clause array codeigniterselect query in codeigniter with multiple where clausemultiple where or condition in codeigniteremail update in codeigniter using where condition 24this db where multipletwo where clauses codeignitermultiple where in query in codeignitermultiple where condition in sql codeignitercodeigniter multiple wheremultiple where condition on 22single column 22 codeigniterhow to check double condition in single where query in codeignitermultiple orwhere condition in codeigniteradd multiple condition codeigniter data modelphp codeigniter model query multiple where conditionmultiple and or where condition in codeigniterget where codeigniter two conditionsmultiple where clause in codeignitercodeigniter multiple and or statementsmultiple condition in where in codeigniterwhere multiple condition codeigniterdb where codeigniter two conditionsmultiple where condition on same column codeigniterpassing multiple where conditions in codeignitor updatecodeigniter 4 multiple wheremultiple conditions in where clause in codeignitercodeigniter multiple where conditionmultiple where condition for same column in codeignitermultiple where condition in codeigniter querycodeigniter query multiple wheremultiple where in codeigniteradd multiple condition codeigniter modelhow to use multiple where condition in codeignitermultiple or where in codeignitercodeigniter join with multiple conditionsmultiple where sql in codeignitermultiple where condition in codeignitertwo condition inside where query in codeigniterhow to use multiple where condition on same column in codeigniterhow to check multiple condition in get where in codeignitercodeigniter two where conditionsget where in codeigniter with two conditionhow to add multiple where in condition in codeigniterhow to use multiple where clause in codeignitermultiple where clause in codeigniter for single columncheck multi where condition in codeignitercodeigniter multiple where condition using and operatorupdate multiple data with multiple conditions using codeigniterallintitle 3ahow to use multiple where condition in codeigniter 3fhow to return multiple variables in function codeignitertwo where condition in codeigniterhow to use multiple where condition in codeigniter