There are many conflicting statements around. What is the best way to get the row count using PDO in PHP? Before using PDO, I just simply used
fetchAll is something I won't want because I may sometimes be dealing with large datasets, so not good for my use.
Do you have any suggestions?