> I want to be able to load PDFs into mysql DB, but I'm not very familiar with > the blob data type? > Can someone point me on the right direction how to do this?
Use fopen() in binary mode and fread() to read the file into a string, then insert it into the database as you would any other variable in any other column. Make sure you have a large enough BLOB to support your file sizes. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php