Pocket Plane Group

Miscellany, Inc. => Ensign First Class Blather => Topic started by: balduran on October 31, 2005, 12:36:00 PM

Title: A question for those who are HTML adepts
Post by: balduran on October 31, 2005, 12:36:00 PM
I am making this site about strange facts of life and Iwant to add an option where you can access a list of 5 facts, which are randomly chosen from a list. The visitors are supposed to do it with the push of a button.

The problem is that I don't know how to do it. Can anyone here help me?
Title: Re: A question for those who are HTML adepts
Post by: CamDawg on October 31, 2005, 12:41:32 PM
HTML is static so you'll need something that can generate dynamic data, such as PHP. You could try it in Javascript, but since ~10% of web surfers have it disabled it's a suboptimal choice.
Title: Re: A question for those who are HTML adepts
Post by: balduran on November 01, 2005, 04:06:04 PM
Then I'll have to go with PHP. I don't uderstand Java anyway. Do you know how to do it with php? Does it require some sorce of database control?