Create following database to save image as data in field
CREATE TABLE IF
NOT EXISTS `tblimg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`img` longblob NOT NULL,
`name` varchar(40) NOT NULL,
PRIMARY KEY (`id`)
)
and this form in html
For Save Image in database first you have to get that file from image upload File control to following variables.
Now write this code to save this data in database.
Write response to me if you like this blog......


