changing photographs automatically

  Smokeyone 12:19 04 Nov 2007
Locked

As a newbie to web design I am teaching myself the hardway and trying to learn html. Text photographs layout so far ..
On some sites, every time you go there the first page shows a different photograph, same layout etc etc but different picture depicted.
How is this done please, a friend told me I need to learn about cgi to do this but after a google search I am none the wiser.
Perhaps someone could point me in the right direction please.
Thanks

  barryoneoff.co.uk 22:20 04 Nov 2007

they are picked at random from a database using php or similar.

  Smokeyone 09:24 05 Nov 2007

You couldn't explain a bit more please could you !

  Eric10 12:19 05 Nov 2007

Using Javascript click here and using PHP click here
I haven't used either of these but just found them in Google.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

Halloween Photoshop & Illustrator tutorials: 20 step-by-step guides to creating spook-tacular…

iPhone X news: Release date, price, new features & specs

Comment créer, modifier et réinitialiser un compte Apple ?