Welcome Guest, Not a member yet? Register   Sign In
Using activerecords where clause with occasional 'OR' match
#4

[eluser]juanvillegas[/eluser]
Better than that would be just using a 0 (or some integer out of the sequence), just to be consistent. And you should define those in a config file and then do $this->db->where("status", $this->config->item("status_ALL")); Or something like that. That would be the best practice approach.


Messages In This Thread
Using activerecords where clause with occasional 'OR' match - by El Forum - 05-06-2011, 04:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB