Trying to count all records from database |
You have grouped it by pageid. Since both your pageid's are the same they are grouped as one row. There are two of them.
https://www.w3schools.com/sql/sql_groupby.asp Also in the docs, group_by is near the bottom of this section: https://www.codeigniter.com/user_guide/d...milar-data |
Messages In This Thread |
Trying to count all records from database - by doomie22 - 09-13-2017, 01:27 PM
RE: Trying to count all records from database - by InsiteFX - 09-13-2017, 01:39 PM
RE: Trying to count all records from database - by doomie22 - 09-13-2017, 01:46 PM
RE: Trying to count all records from database - by lorenzoallopez91 - 09-13-2017, 05:56 PM
RE: Trying to count all records from database - by doomie22 - 09-14-2017, 03:29 AM
RE: Trying to count all records from database - by PaulD - 09-14-2017, 05:02 AM
RE: Trying to count all records from database - by InsiteFX - 09-14-2017, 08:48 AM
|