Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    4

    Unanswered: Attaching an image file to the database..?

    Ok, im an ACCESS user, I used MYSQL quite a bit, but never added an image to the database. Ive never even done it in ACCESS.

    Can someone tell me how do they link an image in a database? Here is what I want to accompolish.

    I want to upload subject, description, and image.
    I want to view the subject, description, and image.

    Attaching an image to MYSQL...
    Thanks in advance

  2. #2
    Join Date
    Jul 2004
    Location
    Dundee, Scotland
    Posts
    107
    In MS Access you'd use the "OLE Object" field type to store an image.

    In MySQL you'd use the "BLOB" field type to store an image.

    An easier approach is to store the image in a directory on the server and just store the filename in the database table.

    Hope that helps you progress,

Posting Permissions

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