Jump to content


PHP MySQL and images

  • Please log in to reply
2 replies to this topic

#1 nritchie2004

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 03 June 2006 - 12:22 PM

Hey, I hope someone out there can help me, been trying to do it for about 3 days now,

Well basicalyy I have a form, which has a number of fields that the user fills out and goes to the database. all this works fine, but now im also trying to add an image upload, i have managed to get images uploaded to a folder but what I want, is for the image url to be added to the database, so that on the output page i can display the image using the ID number. I hope this makes sense. Thanks in advance if anyone can help.

#2 stephenk

  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 04 June 2006 - 01:09 PM

This might help:
[a href=\"http://www.phpfreaks.com/tutorials/36/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/36/0.php[/a]


#3 nritchie2004

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 04 June 2006 - 02:00 PM

hey thanks for your reply, but ive already got all that working, I just need to somehow automatically add the image url to the database upon clicking submit

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users