faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

28 of 85 people (33%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

I tried to load Blob Image from MSSQL using php but the 25% of the image is displayed only?

Feb 22nd, 2008 19:58
dman, Articles Hosting, Onno Benschop, Zuhair Ali, http://www.ttnr.org


Did you do an addslashes to the field that contains the BLOB data, 
because otherwise it will likely die where it comes across a byte that 
looks like an SQL terminator:
$blob = addslashes($blob) ;
$select = "INSERT INTO dbf (blob) VALUES ('$blob') ;
------
atalasoft.com/products/imgxasp/docs/Database.html
i hope that helps.