Welcome Guest, Not a member yet? Register   Sign In
$this in a condition
#3

[eluser]TDSPower[/eluser]
Thanks for this fast answer.

In fact, in all cases I execute a query, but if $cat!=0, I want to select only rows where id_cat == $cat.

Canno't use a "$this->db->where" in a condition ?

Thanks again,

François

EDIT : I have tested without the where, and the error is still here.


Messages In This Thread
$this in a condition - by El Forum - 01-03-2008, 03:45 AM
$this in a condition - by El Forum - 01-03-2008, 03:58 AM
$this in a condition - by El Forum - 01-03-2008, 04:01 AM
$this in a condition - by El Forum - 01-03-2008, 04:15 AM
$this in a condition - by El Forum - 01-03-2008, 04:24 AM
$this in a condition - by El Forum - 01-03-2008, 04:51 AM
$this in a condition - by El Forum - 01-03-2008, 05:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB