najath Posted June 26, 2007 Share Posted June 26, 2007 hi, i have a binary table in MSSQL and i am retriving the binary table values to a XML using .net and reading that from PHP to mysql table. when i am trying to display a binary as image in php its not giving me the image can any body please help me on this, i am trying this for a long time pleaes najath [email protected] Link to comment https://forums.phpfreaks.com/topic/57202-retriving-binary-from-mssql-and-dispalyiing-in-php-via-xml/ Share on other sites More sharing options...
trq Posted June 26, 2007 Share Posted June 26, 2007 You want to post some code? Link to comment https://forums.phpfreaks.com/topic/57202-retriving-binary-from-mssql-and-dispalyiing-in-php-via-xml/#findComment-282704 Share on other sites More sharing options...
najath Posted June 26, 2007 Author Share Posted June 26, 2007 this is the php code header("Content-Type: image/gif"); print "<img src=" . $ROW['cml'] ." width='200' height='100'/>"; and if you want a binary value please let me know regards najath Link to comment https://forums.phpfreaks.com/topic/57202-retriving-binary-from-mssql-and-dispalyiing-in-php-via-xml/#findComment-282729 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.