Results 1 to 2 of 2

Thread: Upload a File, Entry into MySQL

  1. #1
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default Upload a File, Entry into MySQL

    I can make a basic File Upload script in PHP, but how can i make a Database entry into mysql. The file will not be stored in mysql but a folder on the server. But details of the file will be stored in MySQL like its filename.

    Database table:

    datasheets
    id int(11) No
    part varchar(255) No
    filename varchar(255) No
    description text No


    Indexes:
    PRIMARY PRIMARY 0 id
    filename UNIQUE 0 filename


    If you can understand what i am trying to say lol.
    Ryan
    Sevierville, TN

  2. #2
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    After a couple of days looking I have found some information on doing what I wanted and I am going to post that information here for everyone here to see how its done.

    Uploading Files to MySQL Database

    Uploading Files to File Server w/ Entry into MySQL
    Ryan
    Sevierville, TN

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •