Thread
:
php count() or sql count(*) is faster??
View Single Post
#
3
(
permalink
)
03-25-2008, 12:09 PM
lordspace
Junior Member
Join Date: Jan 2008
Posts: 16
If you make php count, this does mean that you have to retrieve all the records ... and query one more time for results depending on current page, therefore it php count is slower.
If you have 100 k records you'll feel the difference.
Slavi
lordspace
View Public Profile
Send a private message to lordspace
Find all posts by lordspace