[eluser]MEM[/eluser]
[quote author="bretticus" date="1251574914"]
If the first form works, then add another element to your array.[/quote]
Yes, but the fact that I wanted to use get->where() instead, was to avoid a large array when I have more then 3 or 4 where clauses.
[quote author="bretticus" date="1251574914"]Otherwise, you can tell Active Record not to meddle with the where clause statement:
Code:
$this->db->where('parent_id_cat IS NULL', NULL, FALSE);
[/quote]
If I get you right,
By using IS NULL instead of = NULL - AND - by passing values to the others Where() method parameters, I'm telling Active Record to not mess with where statement?
Thanks for your reply,
Márcio