mysql query to store image in a database

by gowtham 2010-01-28 19:21:10

CREATE TABLE `test`.`pic` (
`idpic` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`caption` VARCHAR(45) NOT NULL,
`img` LONGBLOB NOT NULL,
PRIMARY KEY(`idpic`)
)

Tagged in:

954
like
0
dislike
0
mail
flag

You must LOGIN to add comments