DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: images dont display when posted with form  (Read 4,305 times)

kevstero

  • Participant
  • Joined in 2008
  • *
  • Posts: 16
images dont display when posted with form
« on: July 04, 2008, 10:56 PM »
Hi,

My php form, using a "file" input, seems to only store the image name in the database. I thought that by changing the file type, it would upload the full filename, however I don't know which file type to use other than "text".

When I display the table data, if the intended file was localhost\antiques\images\image1.jpg all that will show is the text "image1". So hopefully when this problem of uploading the full filepath is corrected, will the images begin to show?

Thanks!

kevstero

  • Participant
  • Joined in 2008
  • *
  • Posts: 16
Re: images dont display when posted with form
« Reply #1 on: July 05, 2008, 03:05 AM »
problem solved, simply moved images to the main directory.. obviously i need to add the path myself..

Original address: https://www.donationcoder.com/forum/index.php?topic=13950.0