PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi, I'm trying to load a blob from an oracle db. The purpose is for downloading a file from the db. I've searched on the web and it seems to be always the same procedure:
//$stmt is a valid descriptor for the executed query 'select blobcol from blobtable'
$result = oci_fetch_assoc($stmt);
$outVar = $result['blobcol']->load();
//At this point the variable $outVar turns to be null (tested with var_dump and by sending the headers and the var and downloading the file)