How do I randomize quotes on a page (without using databases)
Is there a way for a coding fraud like myself to easily implement a "random quote" for my site's front page that does not involve databases? I don't need it to rotate on a timer, I just need the page to display a different quote each time it's loaded. No frills.
I'm pretty comfortable with HTML/CSS at this point, but only know PHP includes & strings (so I can't really say I know PHP). Don't know any Javascript at all, beyond just placing existing code where I'm told to place it.
In a perfect world, the front page would pull from a sheet located where the web pages are; where every 2 lines is a new quote. So the odd lines would hold the quote, and the even lines the authors of those quotes. (Unless someone has a better idea, but this seemed the most obvious using only 1 sheet.)
I assume it would be preferable to do the quote-pulling in PHP since it can do it locally, right? (It's my understanding that this would allow the downloading of only the quote being used, instead of the full list, every time the front page is loaded). There should be between 50 and 200 quotes in all.
Could someone help me out with the code, or point me to a tutorial that will walk me through it?
Thanks!
