|
|
|
| 一个php处理oracle的 long型数据的简单例子 |
| 作者:未知 |
| 日期:2003-07-26 |
| 人气: |
| 投稿:Andy.m(转贴) |
| 来源:未知 |
| 字体:大 中 小 |
| 收藏:加入浏览器收藏 |
|
|
|
$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中为大文本的具体内容。
|
|
|