Adding image upload to a form.

Discussion in 'PHP' started by tbwd, Mar 15, 2011.

  1. #1
    I am creating an admin section for a property rental site allowing the owner to add/edit/remove properties. I have setup the form to add a property, but I need to be able to have 4 spots for images to upload. Can anyone point me in the right direction, maybe a tutorial or a small explanation on how it is done and I should be able to go from there.

    Thanks
     
    tbwd, Mar 15, 2011 IP
  2. joy1986joy

    joy1986joy Member

    Messages:
    189
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #2
    Hi
    4 spots means you want what are the place on the webpage or how you will be able to display those in those 4 places. Please clear it.
     
    joy1986joy, Mar 16, 2011 IP
  3. hemasid

    hemasid Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    w3schools.com/php/php_file_upload.asp

    this might be of help
     
    hemasid, Mar 16, 2011 IP
  4. tbwd

    tbwd Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There will be 4 images assigned to each property, so I was thinking have 4 fields to add images with-in the form. If anyone knows a better way, please let me know.
     
    tbwd, Mar 17, 2011 IP