Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Need help with file/image upload

forums forums SQLyog Using SQLyog Need help with file/image upload

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #8856
      bronsti
      Member

      Help please as I'm new and have pledged to help others once I learn!!! Thank you in advance!

      – The code below works and inserts all form lines until I try to upload a picture/file using dreamweavermx 2004 (my editor). I've narrowed it to this particular file upload that causes the following error (i.e. the form inserts perfectly with that file upload line turned off). I added the code if it might help someone understand but probably not necessary as it's probably quite simple. My SQLyog is set to varchar, len = 30 for the picture field. I want to load the picture to a folder on the server and store the url path in mysql table.

      2 questions… 1) is my field set up to the proper parameters to store an image url link? (picurl) 2) how do i guide an uploaded picture to a particular folder on my server? (i.e. /Images)

      Notice: Undefined index: picurl in D:Websiteswww.wesx.comnewad.php on line 41

      Warning: Cannot add header information – headers already sent by (output started at D:Websiteswww.wesx.comnewad.php:41) in D:Websiteswww.wesx.comnewad.php on line 51

      Phone:

      Item Name:

      Intro Line:

      Price:

      Price stance:

      Picture:

      Description:

      :

       

      :huh: :huh:

Viewing 0 reply threads
  • You must be logged in to reply to this topic.