关于数据库查询问题?高手帮我顶,在线急!
我用的数据库:oracle
<?php
$conn = OCILogon("web","web","dbinfo");
$stmt = OCIParse($conn,"select * from table");
OCIExecute($stmt);
print OCIRowCount($stmt) . " rows .<BR>";
OCIFreeStatement($stmt);
OCILogOff($conn);
我的table里明明有5个记录,他显示出来应该是5 rows .
为什么是:0 rows ?请大家帮我看看,xx
?>