SyntaxFix
Write A Post
Hire A Developer
Questions
You simply use this in one row.
$query = $this->db->get_where('mytable',array('id'=>'3'));