Welcome Guest, Not a member yet? Register   Sign In
Multiple where clauses in getwhere
#2

[eluser]Ryuuzaki92[/eluser]
Code:
$query = $this->db->getwhere('mytable', array('id' => $id), $limit, $offset);

pass the 2nd parameter as an array with all your where clauses.


Messages In This Thread
Multiple where clauses in getwhere - by El Forum - 11-17-2007, 04:50 AM
Multiple where clauses in getwhere - by El Forum - 11-17-2007, 06:00 AM
Multiple where clauses in getwhere - by El Forum - 11-17-2007, 08:43 AM
Multiple where clauses in getwhere - by El Forum - 11-17-2007, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB