Jump to content

elyssonraphael

New Members
  • Posts

    1
  • Joined

  • Last visited

elyssonraphael's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I using.. $consulta = oci_parse($conexao,"select photo from userp where usrph_status = 'A' and id = :didbv"); $didbv = $_POST["id"]; oci_bind_by_name($consulta, ':didbv', $didbv); oci_execute($consulta, OCI_NO_AUTO_COMMIT); while (($row = oci_fetch_array($consulta, OCI_ASSOC)) != false) { $arr = oci_fetch_assoc($consulta); header("Content-type: image/JPEG"); $result = $arr['PHOTO']->load(); print "<img src='".$arr['PHOTO']."'>"; print $result; echo $result; } What appears in the result page is: This image contains errors and can not be displayed. How to fix this?
×
×
  • Create New...

Important Information

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.