Page 1 of 1

How should I go about this

Posted: Tue Jan 13, 2004 4:37 pm
by pinehead18
Ok, I am having some huge amount of problems with this scrip i'm working on. What it is, is it is a family photo album. Basically the family member can have up to 5 pictures. One of those pictures is the main picture that sticks out upon the family website, and at the top of their specific page. The other 4 are sub pictures which are just part of their mini photo album.

What i have is a page called my_pictures.php on this page it "shows" all 5 pictures. When you click on the picture it takes you to the upload page and the upload page uploads the picture and updates the sql field to the new picture url. However, in order to tell the upload page what sql feild to update i make the image url on my_pictures.php reflect image=main or image=pic2. However, when it goes to upload the picture the page reloads itself and the script looeses $image.

Does anybody have any suggestions on a better way of doing this but keeping the same ease of use type of system?

Thank you for your help

- Anthony

Posted: Tue Jan 13, 2004 4:41 pm
by infolock
do you have any code to go along with this? How are you calilng the variables ( are you passing it through the url itself? ). Is the images being updated to the sql database? sorry for the confusion, just trying to clarify some aspects of your problem.

Posted: Wed Jan 14, 2004 5:35 am
by twigletmac
Topic continued here:
viewtopic.php?t=16659

Mac