RS Shamil
05-25-2009, 10:12 AM
Hello, just another quick PHP question here:
How would I go about making a small script whereby:
An image is shown, based on what is in the database.
So, image1 is currently being shown, as is referenced as "1" in the mysql db. I click on the image. Image changes to image2, and is updated in the db as "2". The same for 3, however,when I click on the 3rd image, it cycles back to image 1.
I'm not sure if that's clear enough for you :|
How would I go about making a small script whereby:
An image is shown, based on what is in the database.
So, image1 is currently being shown, as is referenced as "1" in the mysql db. I click on the image. Image changes to image2, and is updated in the db as "2". The same for 3, however,when I click on the 3rd image, it cycles back to image 1.
I'm not sure if that's clear enough for you :|
