andymac
05-08-2006, 11:11 PM
Hi,
Can anyone tell me how to do this - or point me in the direction of some code that is close.
I want the user of a website to be able to click on a button called, for example, 'pick' and the code to return to the screen with a randomly chosen jpeg from a finite list along with some text describing it. For example 1 out of 52 jpegs representing a full pack of cards alongside the text 'Jack of Clubs', Or a random photo from my photo gallery as well as the text 'Pretty Picture'.
Any help gratefully received
Can anyone tell me how to do this - or point me in the direction of some code that is close.
I want the user of a website to be able to click on a button called, for example, 'pick' and the code to return to the screen with a randomly chosen jpeg from a finite list along with some text describing it. For example 1 out of 52 jpegs representing a full pack of cards alongside the text 'Jack of Clubs', Or a random photo from my photo gallery as well as the text 'Pretty Picture'.
Any help gratefully received