[eluser]Lachiaso[/eluser]
Dear all,
I want to translate the following Mysql to Codigniter
Code:
INNER JOIN
table AS o
ON
cl.client_id = o.suplier_id
AND
o.day_id = " . GetDayId() . "
I know that join function of CI is:
Code:
$this->db->join('comments', 'comments.id = blogs.id', 'left');
// Produces: LEFT JOIN comments ON comments.id = blogs.id
but how to add AND into this ?
BTW: i know the www ;-)