I have a problem with visualize a image in web from Sybase.
$select = "SELECT gImg FROM TIMG WHERE id=$id";
$rs = sybase_query($select , $link_connection);
$row = sybase_fetch_assoc($rs);
$img = $row['gImg'];
header('Content-type: image/jpeg');
echo $img
- The format of image in database is wmf.
I don´t see the image in the web browser, I need some codification or function?
Thank´s.
PHP Version 5.3.5
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.