Jump to content

Archived

This topic is now archived and is closed to further replies.

rallokkcaz

how to make picuture upload to mysql table?

Recommended Posts

I couldn't find it in tutorials so here we go!

i need a form that uploads pictures to mysql table

and im noy sure what i should put in for the new row
in the mysql query.

Share this post


Link to post
Share on other sites
You could try these 2 sites form more info/tutorials

http://www.weberdev.com/ViewArticle-3.html
http://www.tizag.com/phpT/fileupload.php

The way i do it is to upload the images to a folder and store the filename in a MySQL database then when you need to do <img src=" you just echo the fieldname (which should be your image filename)

Share this post


Link to post
Share on other sites
i postsed a script that will need a litle modding on this thread that is what your after :)

http://www.phpfreaks.com/forums/index.php/topic,105750.0.html

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.