I have a SQL server database that has a varbinary(max) column that contains data for a bitmap image. I need to display this data as an image on a PHP page.
Any idea how I would go about this? I havn't found alot of information on the internet as to how to do it.
When I look at the data through the management studio, it looks like 0x42DBE3400000...,
whereas if I retrieve it thorugh ODBC and echo it to the screen, it looks like Qk2+NAAAAAAAAD4AAAAoAAAArgEAAPAAAAAB.
I havn't worked very much with binary data before so I'm not sure what to do from here! Any help appreciated