View Full Version : file (xls, doc, pdf, jpeg etc) adding to mysql database ?

06-16-2007, 01:25 PM
I have an userform that datas convert to mysql database.

There are two areas called "TYPE" and "DATA". "TYPE" field is varchar(255) type, and "DATA" field is longblob type in my db table. (I?m using mysql 5.0 ODBC connector for connection)

My problem is to not add files (doc, xls, pdf, jpeg etc) that select from userform to mysql database. I can add other text and number format datas but can not add file (expecially pictures and pdf's). How is picture & file adding methods?

Thanks your help and advice.