Jump to content


Photo

how to make picuture upload to mysql table?


  • Please log in to reply
2 replies to this topic

#1 rallokkcaz

rallokkcaz
  • Members
  • PipPipPip
  • Advanced Member
  • 194 posts
  • LocationSomewhere, CA (Cactus Area)

Posted 03 September 2006 - 02:14 PM

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.

#2 AdRock

AdRock
  • Members
  • PipPipPip
  • Advanced Member
  • 911 posts

Posted 03 September 2006 - 04:13 PM

You could try these 2 sites form more info/tutorials

http://www.weberdev....wArticle-3.html
http://www.tizag.com.../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)
If your topic has been solved, please mark the topic as SOLVED.

This helps others from identifying which topics need help still

#3 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 03 September 2006 - 04:17 PM

i postsed a script that will need a litle modding on this thread that is what your after :)

http://www.phpfreaks...c,105750.0.html
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users