$sql1= "select * from s_sblb ";
$rst1=mysql_query($sql1);
$ar=mysql_num_rows($rst1);
现在要改成ORACLE的,其中的两个函数要怎么改?谢谢
------解决方案--------------------
http://cn.php.com/manual/zh/ref.oci8.php
建议你用ADODB
------解决方案--------------------
$sql= "select * from s_sblb ";
$result=OciParse($DBCONN,$sql);
ociexecute($result);
while (OciFetchInto ($result, &$arr))
{
$js = ' ';
echo $js;
echo "$arr[0] ";
}
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!