Welcome Guest, Not a member yet? Register   Sign In
New to CI and need help
#3

(07-31-2018, 09:44 AM)donpwinston Wrote: use count(*) as article_count, then output $row->article_count

query->num_rows is the total number of rows in your query not the article count.

Thank you so very much!
Reply


Messages In This Thread
New to CI and need help - by BusyWitch - 07-31-2018, 07:53 AM
RE: New to CI and need help - by donpwinston - 07-31-2018, 09:44 AM
RE: New to CI and need help - by BusyWitch - 07-31-2018, 04:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB