I have a table in db with stored 10 pictures.
Table: pictures
ID
listingID
picture_1
picture_2
pictu…..
How to make pictures display, on clicks in order 1, 2, 3,...
Thanks .....
ansa1
pictures on click
Moderator: General Moderators
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
what hes suggesting is use the GET or POST method (the get would be if it was in the url, ie: user.php?user=tim
you would use
$_GET['user'];
have it a page where it gives all the ids of the images, and when they click on it, assign the id to a var and use the get method on the other page to display it.
i may be wrong, good method tho
you would use
$_GET['user'];
have it a page where it gives all the ids of the images, and when they click on it, assign the id to a var and use the get method on the other page to display it.
i may be wrong, good method tho