PDA

View Full Version : Uploading Images and watch them !!!


KvelaGorrrrnio
09-19-2010, 08:14 PM
Heej everybody :O

I have my own website and I would like too have a feature where you can upload your pictures. And I can now upload them, but i dont know how to get them into a html page so they are in a gallery D: PLZZZZ HELP MEE!!!!!


PS. my path to the uploading folder is: "UPLOADER/uploads/" and the file where the galley should be, have this path: "/Pictures/Pictures.html"

PLZZZ HELP ME!!!

Kvela Gorrrrnio :confused:

davidj
09-20-2010, 06:54 AM
you need to store the file name of the file you upload in a database. Then you can pull the filename back out and build an <img tag dynamically using the stored file name.

KvelaGorrrrnio
09-20-2010, 08:40 AM
srry ^^' i'm not so good at database's and stuff like that.... I don't really know how to make a database D: (I'm using Dreamweaver cs5)

edbr
09-20-2010, 08:47 AM
heres a good tutorial to set you on your way
http://www.tizag.com/mysqlTutorial/

KvelaGorrrrnio
09-20-2010, 02:22 PM
Thanks for the reply :D I'll look at it and find out if i can make that database ^^'