You are here: How can you pull a random item and leave that item on site for a specified time period? « PHP Programming Language « IT news, forums, messages
How can you pull a random item and leave that item on site for a specified time period?

Posted by itcassy on 10/01/07 17:19

I would like to pull a random or alphabetical result on the home page
of a site and leave that same result on there for one week. The
closest example I have found online is Random Quote Version 3.1 which
pulls from a text file rather than the database. I cannot mod it to
pull from my db and also it relies on cookies, so I would assume it
would pull a different random item for each computer and then keep
that item on the page for whatever time you specify (?). I am working
with dealers and would like to automatically feature a different
dealer every week without having to go into the db and choose which
one to feature. Is this possible using PHP and MySQL? Does anyone have
any suggestions on a different technology or maybe some links to help?

 

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

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