EddieG5
Jan 7 2004, 09:21 AM
My entries are photographs. How can I randomize my entries so that each time someone visits the main page, a different 'entry' is viewed?
Any help is appreciated!
Thanks!
nammer
Jan 7 2004, 10:40 AM
You could try
the RandomEntries plugin - but that will only update when the page rebuilds (as all plugins do). If you use PHP, you can try
the PHP solutions for randomizing images mentioned in that thread - no, wait, that's only images, not entries.

Try
this thread, which also uses PHP.
Whew!
Does that help?
Donna
EddieG5
Jan 7 2004, 12:54 PM
It does, thanks. One last (hopefully) stupid question...at the top of his php code, it says:
// connect to your database
// dirify function to create links to archives
// that use archive file templates for naming
What information do I put in to connect to my database? Is there a proper syntax?
Thanks again!