How can I insert an image file into a blob field? I search the MySQL
Documents but nothing came up specificaly on inserting images from files.
Using the Windows version.
Here's the script

CREATE TABLE sig
    (
     ItemID               INT NOT NULL AUTO_INCREMENT,
     FirstName            CHAR(50),
     LastName            CHAR(50) NOT NULL,
     Signature             BLOB,
     PRIMARY KEY (ItemID)
     )

##Insert

INSERT INTO sig
VALUES (
     1,
     'Paul',
     'Davolio',
     'this is where I should set the file path to the image but how'
)

Cheers

Mike



database,sql,query


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <mysql-unsubscribe-##L=##[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to