Answers for "codeigniter get raw query"

1

codeigniter raw query

$sql="Select * from my_table where 1";    
    $query = $this->db->query($SQL);
    return $query->result_array();
Posted by: Guest on September-03-2020
0

raw query in codeigniter

$query = $db->query('YOUR QUERY HERE');
Posted by: Guest on August-04-2020
0

codeigniter get raw query

$this->db->select('*');
	       $this->db->from('rankcertificate');
		  	$this->db->where('cin', $user);
		  	$this->db->where('year', '14/15' or 'year', '18/19' or 'year', '19/20' or 'year', '20/21' or 'year', '21/22');
		   $query = $this->db->get();
Posted by: Guest on July-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language