亲们,PHP操作Oracle的问题,郁闷了,一个星期了都没解决,跪求大侠相救啊!!!
$sql="selectdistinctCELL_NAMEfromBAS_CELLwhereCELL_NAME='长峰东区'";$stment=oci_parse($co...
$sql = "select distinct CELL_NAME from BAS_CELL where CELL_NAME = '长峰东区'";
$stment = oci_parse($conn,$sql);
oci_execute($stment);
$rows = oci_fetch_all($stment,$results);
echo "结果行数为:".$rows; //SQL语句在Oracle里执行有结果,为什么这里$rows一直是0? 展开
$stment = oci_parse($conn,$sql);
oci_execute($stment);
$rows = oci_fetch_all($stment,$results);
echo "结果行数为:".$rows; //SQL语句在Oracle里执行有结果,为什么这里$rows一直是0? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询