Can anyone direct me to a SIMPLE!!! script on how to upload a filename from a form into mysql?

ive tried 2 other scripts and neither work.!

This is apache2 running on Win NT, php4.

im looking for VERY VERY SIMPLE!
😃

    You probably didn't get a reply because you weren't clear what you wanted.

    Do you want to know the referrer? Check out this article: Revisited: Logging With PHP

    Do you want to know which form sent the request? Create a hidden field called formname and just check the value each time.

    Oh, and when you reply to your own posting people may not read your post because they think you have already got a response. Don't forget you can edit to add info.

      sarahk

      im looking for an HTML form.

      for example

      name text
      address text
      picture file

      and insert those 3 fields into my db.

      the name and address seem to insert fine, but the picture name does not insert into the database.

      make sense?

        k, im confused now! Do you want to upload data from a form or from a file into your database?

          i want to upload the data from an html form into the db.

          see here

          http://www.kowalick.net/et/test_php.php

          u click on Browse and select a local file.

          i want to take that local file name and insert it into the picture name field of my db.

          i have no insert statement on the page now.

            Write a Reply...