Welcome Guest, Not a member yet? Register   Sign In
Table Prefix in COUNT using Active Record
#2

[eluser]Loic Sharma[/eluser]
For anyone that has a similar problem, this can be temporarily 'fixed' by doing:

Code:
$this->db->select('posts.*, COUNT('.$this->db->dbprefix.'comments.id)');


Messages In This Thread
Table Prefix in COUNT using Active Record - by El Forum - 07-07-2011, 02:22 PM
Table Prefix in COUNT using Active Record - by El Forum - 07-07-2011, 02:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB