Hi! I wanted to know that how can i make a user interface to add photos to the data base and show them in my web page??
Are you storing the actual photo in the database or storing the the photo in the file stsytem and stroing in the database the details needed to retrieve the photo from the file system?
And which part of the process are you having trouble with?
1: Upload the file.
2: Save the flie.
3: Add the database entry
4: Retrieve the entry
5: Display the picture associated with the entry
Saving the image in database is not recommended. A better solution is to save only the image name in database. After that put the image file in the server’s directory system. Then your script can reconstruct the image file path and add it to the image name retrieved from the database.
At first I would try a ready made galley program if you are unsure how to do it. You can then see how it works and then write your own.
There are loads free; try searching hotscipts.com