Php, Blob, Oracle
| From: | M.ALPER KARASAHIN | Date: | Thu, 27 Feb 2003 15:51:01 +0000 |
| Subject: | Php, Blob, Oracle | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137405@lists.php.net to get a copy of this message | ||
Hi,
How can i display a blob column that contins a "MS word" object.
OR
How can i display a blob column that contins a bitmap object.
function foo()
{
$this->statement = OCIParse($this->db_con_id,
"SELECT blobcolumn
FROM XXXXXX ");
if (!$this->statement) {
$oerr = OCIError($this->statement);
echo "Fetch Code 1:".$oerr["message"];
exit;
}else{
OCIExecute($this->statement);
}
$displaypage="
<table>";
while (OCIFetchInto($this->statement,$row,OCI_ASSOC)){
$displaypage =$displaypage.
"
<tr>
<td align=\"center\"
class=\"td_yazi\">".$row["blobcolumn"]."</td>";
};
$displaypage="
<\table>";
return $displaypage;
}