Extract binary data from DB to file

tixuo

New Member
How do I extract binary data from DB to file\[code\]CREATE TABLE `mail_attachs` ( `attachid` int(15) NOT NULL auto_increment, `filecontent` longtext, PRIMARY KEY (`attachid`),) ENGINE=MyISAM \[/code\]The binary data has been saved in the filecontent column. I want to extract the files and text saved in this column and save it to a file on the same server.The filename will contain the attachid so that I can identify and relate the record found in the DB.
 
Back
Top