changing photographs automatically

  Smokeyone 12:19 04 Nov 07

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 22:20 04 Nov 07

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

  Smokeyone 09:24 05 Nov 07

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

  Eric10 12:19 05 Nov 07

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.

Nintendo Switch review: Hands-on with the intuitive modular console and its disappointing games…

1995-2015: How technology has changed the world in 20 years

This abstract video touches on division in our technologic world

Best alternatives to iTunes for Mac | Best music players for macOS: Free your music from the…