Page 1 of 1

storing image url in mysql

Posted: Fri Apr 07, 2006 3:49 am
by ziggy99
hi i need help storing an image url in mysql....

i am trying to create an upload page for my client in php dreamweaver 8 to store the info on newly added cat. products in a mysql db
i can get all the info into the inventory table on the server ... but how do i get the image uploaded to the server (to an image folder) through this page/form.... and get the image url stored in the db, so i can create records set...

any pointers would be great or a tuturiol would be better....

thanks in advance....

Posted: Fri Apr 07, 2006 4:17 am
by shiznatix
http://ee2.php.net/features.file-upload - for the file upload
http://ee2.php.net/manual/fi/ref.mysql.php - for the mysql functions

fyi, dreamweaver is not a good thing to use for coding in php, expecially if it is writing your php for you. don't-use-dreamweaver

hi cheers for that

Posted: Fri Apr 07, 2006 9:47 am
by ziggy99
what program would you advise to use to write php..

Posted: Fri Apr 07, 2006 9:50 am
by feyd
read through the Editor's thread.

viewtopic.php?t=6288