Date: 11/15/00
- Next message: David Fordham: "[PHP] Support DBs update"
- Previous message: willem: "[PHP] getting the header when retrieving an html file"
- In reply to: David Robley: "Re: [PHP] parse errors while doing text input in <FORM>"
- Next in thread: Michael Geier: "RE: [PHP] How 2 ANALYZE POPULAR SEARCH WORDS?"
- Reply: Michael Geier: "RE: [PHP] How 2 ANALYZE POPULAR SEARCH WORDS?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey PHPeeps -
How would you analyze searched words to find/sort the most popular?
Every time someone types something into our search box, we save it in a
MySQL varchar field.
They usually type multiple words.
So... would you use a PHP loop to explode each varchar by " " into
individual trimmed words, lowercase them, and ADD to an
ARRAY? (searchwords[sex]++; searchwords[mp3]++; etc...)
Or is there a better way?
Any pre-made solutions to analyzing search box logs?
Thanks!
Derek Sivers
list <email protected>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Fordham: "[PHP] Support DBs update"
- Previous message: willem: "[PHP] getting the header when retrieving an html file"
- In reply to: David Robley: "Re: [PHP] parse errors while doing text input in <FORM>"
- Next in thread: Michael Geier: "RE: [PHP] How 2 ANALYZE POPULAR SEARCH WORDS?"
- Reply: Michael Geier: "RE: [PHP] How 2 ANALYZE POPULAR SEARCH WORDS?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

