I have a PHP script that takes an image from an Oracle database and saves it into a MySQL database.
It worked fine until I upgraded to PHP 5.3.3 from PHP 5.1.6. The part that queries the Oracle database no longer works. It can query all fields apart from the image field. I believe it is a BLOB.
For instance, the below code outputs Resource id #6
$sql2 = "SELECT CREATIVE FROM creative WHERE id = 10314612";
foreach($oci->query($sql2) as $row2) {
echo $row2['CREATIVE'];
}
$rows["CREATIVE"]->load().var_dump($row2['CREATIVE'])say?currentgive in your$oci->query?