How should I go about this
Posted: Tue Jan 13, 2004 4:37 pm
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
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