|
Posted by AnrDaemon on 10/30/07 22:19
Greetings, joanna.
In reply to Your message dated Tuesday, October 30, 2007, 22:38:01,
> However, what I want to do now is display the recent searches on the
> index of the site. How can I go about doing this?
> From what I gather, I should create a table just for searches and
> insert each one there then that way I can select them later?
Exactly that way.
You create simple table with id-time-keywords-hits and later You can fetch
some requested keywords to show as recent searches.
And if one keyword requested more than once, you can just increase "hits" and
update "time" instead of adding it to list again and again.
Some statistics will be interesting for You I think.
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
Navigation:
[Reply to this message]
|