Hello,
i try to display an image from a Database who store images as binary.
There is only one field : the binary data (who looks like : BM~»......6...(...2...S...........H»..................ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ), but I know there is only bmp image.
I do :
...
...
$query = "SELECT ICONE
FROM CATALOGU
WHERE REFERENCE_INTERNE='216886-B21'";
$result = send_sql($query);
$Row = mssql_fetch_object($result);
...
...
$Image = $Row->ICONE;
Echo "<img src=\"$Image\">";
What do I forget ?