I'm trying to pull out a jpeg image from my MS SQL database.
I just query the row, successfully, and when I echo the field (i.e. echo $myrow[7]; ) only a quarter or so of the image is displayed.
I read somewhere that this can be fixed using addslashes... but I tried that and it didnt work.
Plus, These images can be pulled off the same server using ASP's response.binarywrite... so I know they're in the table correctly!
Is there some sort of size constraint on strings in php?? Or in the rows returned by the mssql row getting function?
Oh, and a much smaller (tiny thumbnail) version of the same 13.3k jpeg displays fine using an echo... so it almost has to be something with size.