Jump to content

[SOLVED] Displaying BLOBs on web page


Recommended Posts

  • 1 month later...

$get_doc = OCIParse($DB, "select filename, blobfile from table");
if(!OCIExecute($get_doc))
   exit('failed to search for documents');
while($doc = oci_fetch_array($get_doc, OCI_NUM+OCI_RETURN_LOBS))
   echo $doc[0] . "\n" . $doc[1] . "\n";
OCIFreeStatement($get_doc);

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.