<?php
include_once("config.php");
$db = ADONewConnection($dbtype);
$db->Connect($server,$user,$password,$service_name);$sql = "SELECT node_id,parentNode_id ,node_name,parentNode_name FROM tree where parentNode_id=0 ";
$rs = $db->Execute($sql);
$numrows=ora_numrows($rs);
echo $numrows;
$rs->close();?>报错:Warning: ora_numrows(): supplied argument is not a valid Oracle-Cursor resource in f:\www\dkhfx\tree\tree.php on line 9
怎么回事?我用了adodb库.
急啊.大家帮帮忙啊.
include_once("config.php");
$db = ADONewConnection($dbtype);
$db->Connect($server,$user,$password,$service_name);$sql = "SELECT node_id,parentNode_id ,node_name,parentNode_name FROM tree where parentNode_id=0 ";
$rs = $db->Execute($sql);
$numrows=ora_numrows($rs);
echo $numrows;
$rs->close();?>报错:Warning: ora_numrows(): supplied argument is not a valid Oracle-Cursor resource in f:\www\dkhfx\tree\tree.php on line 9
怎么回事?我用了adodb库.
急啊.大家帮帮忙啊.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货