New to CI and need help |
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.
Simpler is always better
|
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
|