I want to generate a random .txt or .rtf file's contents onto a section of my website on every reload or button press, much like a random image. Is this even possible? And if it is, how do I do it?
Do you mean sort of like one of those random quote things, or do you mean something else?
Well, what I want to do is to write a bunch of different scenes of a story (sort of, but for our purposes it works), and I want a random scene to be displayed in the box on every reload.
That script works, but only for one paragraph at a time it seems.
Might be better to use a database and some asp or php to pull that type of stuff up.
Know where I could find a How-To for that?
I might have found a useful program, but I don't know the first thing about using a .php file. Where do I save it, and how do I let my html document refer to it?