I am having problems finding a site to instruct me on how to retrieve images from a MySQL database, I wonder if anyone could help me. This is the sql of the table used to store the images.
I am totally lost on how to retrieve the images. Any example scripts would be really useful. thanks.
CREATE TABLE `images` (
`PremTeamID` mediumint(15) NOT NULL,
`ImageID` mediumint(15) NOT NULL auto_increment,
`ImageName` varchar(15) collate latin1_general_ci NOT NULL,
`Image` blob NOT NULL,
PRIMARY KEY (`ImageID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=4 ;