Welcome Guest, Not a member yet? Register   Sign In
How to use attributes in controller or model?
#7

[eluser]Reneesh T K[/eluser]
Code:
$q = $this->db->query("SELECT cat_name FROM categories where categories.cat_id in (select cat_rel.cat_id from cat_rel where post_id=$id)")


Messages In This Thread
How to use attributes in controller or model? - by El Forum - 04-16-2012, 06:43 AM
How to use attributes in controller or model? - by El Forum - 04-16-2012, 07:34 AM
How to use attributes in controller or model? - by El Forum - 04-16-2012, 07:41 AM
How to use attributes in controller or model? - by El Forum - 04-16-2012, 07:44 AM
How to use attributes in controller or model? - by El Forum - 04-16-2012, 08:20 AM
How to use attributes in controller or model? - by El Forum - 04-16-2012, 10:44 AM
How to use attributes in controller or model? - by El Forum - 04-17-2012, 01:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB