PDA

View Full Version : PHP dudes... need some help


jbergdoll
29th of August 2008 (Fri), 23:39
I want to make it so that all that I have to do for a link to a new gallery to appear in my "galleries" section of my website is to create a new directory in the specified galleries folder on my server. When clicking on the gallery link, I would like it to open my photos.php page, and then display all the photos from that gallery (without having to create a new page, using PHP commands to display the photos) and the URL appear something like this:
www.josephbergdoll.com/photos.php?set=12 (http://www.josephbergdoll.com/photos.php?set=12) or something like that.

How would I go about creating this? I am no newbie to designing and creating web pages, but PHP definitely is not my strong point. Thank you for your help in advance!

here's an example by the way...

http://willtopete.com/archive.php

aram535
30th of August 2008 (Sat), 19:00
I don't think I understand what you're asking for. You want to link photographs out of gallery onto a page? Or a link to each photograph on its own page without going through gallery?

jbergdoll
30th of August 2008 (Sat), 19:42
It doesn't matter now, I'm doing it a different way.

bieber
2nd of September 2008 (Tue), 16:03
Ideally you're going to want to keep everything in a central database. You can use directory listings, but it's tricky...