Number of items foundgreenspun.com : LUSENET : S-Mart Shopping Cart : One Thread
Has anyone added a "number of items found" line to the search results page?
-- Bill Brandt (email@example.com), February 15, 2000
Great idea but I'm not sure how it would be possible. It seems that the program goes through the database and just spits out results as it finds them. It looks like I would have to search the whole database one time to count the "hits" then a second time to display them.
This might work but also could be time consuming if you've got a lot of people searching a large database all at the same time.
I'll play with it and see.. In the meantime, if there is anyone else who has gotten this to work please let me know also.
-- BP (firstname.lastname@example.org), February 15, 2000.