You are here: Re: Add recent searches to index page « PHP Programming Language « IT news, forums, messages
Re: Add recent searches to index page

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация