Log user searches
Moderator: General Moderators
Log user searches
Hello how difficult is it to record user searches using php ? I run an eCommerce store and would like to be able to track user searches.
Thanks
Anychance you know the technical term of what i am trying to do? So I may search on how to due this.
As you can tell im new to this and dont mind doing it on my own just cant seem to find any relevant matches when I search for anything on the search engines.
I am thinking also due to the possible amount of searches this may not be a good idea to store it in the database might be a better option to store it in a log file. (perhaps) just thinking ahead is all
As you can tell im new to this and dont mind doing it on my own just cant seem to find any relevant matches when I search for anything on the search engines.
I am thinking also due to the possible amount of searches this may not be a good idea to store it in the database might be a better option to store it in a log file. (perhaps) just thinking ahead is all
All you're asking to do is just save user searches. There's not a lot, technically, to do for this functionality, so I doubt you'll find tutorials or anything on how to do this. Doing what ~Skara suggested is probably the best and easiest way to do it.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.