what's wrong
| From: | Fred Cai | Date: | Tue, 22 Aug 2000 06:54:16 +0000 |
| Subject: | what's wrong | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2250@lists.php.net to get a copy of this message | ||
pls view the code below,
when I add the line "echo("<br>".$lob_des->load());",
IE will inform me the msg "Server returned unrecognized info",
who could told me the reason?
thx a lot.
--------------
create table cl1(id number(5),name varchar2(10),cl CLOB);
<?php
ociinternaldebug(1);
$conn=ociplogon("job_container","job_container","sun");
$lob_des=ocinewdescriptor($conn,OCI_D_LOB);
$stmt=ociparse($conn,"select id, name, cl from cl1");
ocidefinebyname($stmt,"ID",&$rst_id);
ocidefinebyname($stmt,"NAME",&$rst_name);
ocidefinebyname($stmt,"CL",&$lob_des);
ociexecute($stmt);
while (ocifetch($stmt))
{
echo("<br>$rst_id");
echo("<br>$rst_name");
echo("<br>$lob_des");
// echo("<br>".$lob_des->load());
}
ocifreestatement($stmt);
ocilogoff($conn);
?>