Hello, I'm in need of help again. I have been coding a couple of scripts in PHP using SQL databases. One of them is a photo album script.
Some of the script:
This shows all of the photos that the user has in that album, I need it so it only shows one photo at a time, then you can press next and it shows the next photo and go through all the photos in the album.PHP Code:<? $getphotos = mysql_query("SELECT * FROM photos WHERE albumid = '$albumid3' ORDER BY 'photoid' ASC");
while($photos = mysql_fetch_array($getphotos)) {
echo "$photoname - $photodesc<br /><br /><img src='$photoloca'><br /><br />";
}
?>
Any help appreciated, +rep if I can.
Thank you very much,
Vince.





Reply With Quote


XD
