繁体中文
设为首页
加入收藏
当前位置:PHP技术首页 >> 数据库相关 >> 一个php处理oracle的 long型数据的简单例子

一个php处理oracle的 long型数据的简单例子

2004-10-01 08:26:10  作者:  来源:互联网  浏览次数:18  文字大小:【】【】【
简介:$sqlA="update table_name set content=:CONTENT where newsid='$NewsID'"; $conn = OCILogon("scott", "tiger"); $conn = OCIParse($conn,$sqlA); OCIBindByName($conn, ':C...

$sqlA="update table_name set content=:CONTENT where newsid='$NewsID'";

$conn = OCILogon("scott", "tiger");

$conn = OCIParse($conn,$sqlA);

OCIBindByName($conn, ':CONTENT', &$ContentTmp,-1);

OCIExecute($conn);

其中:$ContentTmp中为大文本的具体内容。

责任编辑:admin
相关文章