How would you write given query using active record |
[eluser]smilie[/eluser]
Although I do agree with Dennis (using AR for 'simple' queries), I think AR could do this as well with: or_where: Quote:$this->db->or_where(); See: http://ellislab.com/codeigniter/user-gui...tml#select (and then a bit bellow on that page). So, it should be doable Cheers, Smilie |
Messages In This Thread |
How would you write given query using active record - by El Forum - 01-05-2011, 08:02 AM
How would you write given query using active record - by El Forum - 01-05-2011, 08:40 AM
How would you write given query using active record - by El Forum - 01-05-2011, 08:58 AM
How would you write given query using active record - by El Forum - 01-05-2011, 09:01 AM
How would you write given query using active record - by El Forum - 01-05-2011, 09:24 AM
How would you write given query using active record - by El Forum - 01-05-2011, 10:14 AM
|