Number of items found

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Has anyone added a "number of items found" line to the search results page?

-- Bill Brandt (tvbill@prodigy.net), February 15, 2000

Answers

Bill -

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.

Thanks! -BP

-- BP (bppilot@aol.com), February 15, 2000.


Moderation questions? read the FAQ