Query returning only first row |
[eluser]ibnclaudius[/eluser]
I've this query, but I don't know it's returning only the first row.. Code: return $this->db->select('a.id AS topic_id,
[eluser]DarkManX[/eluser]
Try to just use pure mysql-code in the db. there have to be the mistake.
[eluser]InsiteFX[/eluser]
After you run your query do this: Code: echo $this->db->last_query(); And see what is going on. CodeIgniter Users Guide - Queries |
Welcome Guest, Not a member yet? Register Sign In |