I am having the following problem, in a precise report displaying a field of the request that is as BLOB. And when I run the search it returns a strange code instead of the field information.
$sql = ibase_query("SELECT CAST(OBSERVACAO AS CHAR(80))
FROM TB_PEDIDO_VENDA
WHERE ID_PEDIDO = $id");
while ($row = ibase_fetch_row($sql)) {
echo utf8_encode($row[0]);
I tried to use the cast to display but it still was not. How to display the information in this blob field?