SOS...SOS..... LONG ROW

wxdqz

New Member
can anybody help me

this is my code

require("config/connect.php");
$lob = OciNewDescriptor($CONNECTION,OCI_D_LOB);

$stmt = OCIParse($CONNECTION,"select w_imag_util from env.e21w");

OCIDefineByName($stmt,"W_IMAG_UTIL",&$lob);

OCIExecute($stmt,OCI_DEFAULT);

Header("Content-Type: image/tiff;");

while (OCIFetchInto($stmt,&$lob,OCI_ASSOC+OCI_RETURN_LOBS)){
$lob["W_IMAG_UTIL"]->load();

echo $aa=is_object($lob["W_IMAG_UTIL"]) ? $lob["W_IMAG_UTIL"]->load() : "<br>ce n'est pas un objet";
}



THE error :


Fatal error: Call to a member function on a non-object in d:/easyphp/easyphp/admin/start_app/testlecture_lob .php on line 27



thank you the help !
 
Back
Top