php 4 绑定变量问题 绑定的需要是一个变量,而不是一个常量。ora_bind($cursor,"ss",":x1",10); to$a = "ss";ora_bind($cursor,$a,":x1",10); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $a = "ss"; ora_bind($cursor,$a,":x1",10);结果还是一样的,无法通过!而且php函数手册里的范例是这样的:<?phpora_parse($curs, "declare tmp INTEGER; begin tmp := :in; :out := tmp; :x := 7.77; end;");ora_bind($curs, "result", ":x", $len, 2);ora_bind($curs, "input", ":in", 5, 1);ora_bind($curs, "output", ":out", 5, 2);$input = 765;ora_exec($curs);echo "Result: $result<br />Out: $output<br />In: $input";?> 小弟用了很多时间, 学会了php, 搞了www.kingofcoder.com 编程王网站, 请大家支持一下.这站已经用了我很多钱买伺服器了, 希望能够搞一个出名的编程资源网谢谢 如何限制验证码只可使用一次 ajax提交表单中为什么return false却依然提交 PHP+ mysql数据表中的Datetime格式转化问题 数组处理 LINUX系统下,文件夹权限设置问题 怎样删除纪录?===表单元素有同名的情况,如果提交到php页面,怎么得到这些同名的元素的值? 求一函数, 关于删除数组数据的问题 pdo 连接新浪云sae 的数据库怎么连 PHP连接sql server 2008进行页面条件查询 PHP5类中有没有属性过程,其中property关键字怎么用? 彻底崩溃了,请各位高手帮忙!!!!!!
ora_bind($cursor,$a,":x1",10);结果还是一样的,无法通过!而且php函数手册里的范例是这样的:<?php
ora_parse($curs, "declare tmp INTEGER; begin tmp := :in; :out := tmp; :x := 7.77; end;");
ora_bind($curs, "result", ":x", $len, 2);
ora_bind($curs, "input", ":in", 5, 1);
ora_bind($curs, "output", ":out", 5, 2);
$input = 765;
ora_exec($curs);
echo "Result: $result<br />Out: $output<br />In: $input";
?>
这站已经用了我很多钱买伺服器了, 希望能够搞一个出名的编程资源网
谢谢