You are here: Random Entries « PHP SQL « IT news, forums, messages
Random Entries

Posted by thehuby on 01/05/07 21:01

I have a table of articles and I want to grab 3 at random - is there a
way I can do this using SQL or will I have to get all results out then
pick them at random using PHP (something like rand() based on the size
of the result set?)

Any other approach anyone can recommend?

Rick

 

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

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