/**
  * db::num_rows()
  * 
  * @return 
  **/
 function num_rows()
 {
     global $GonxAdmin;
     switch ($GonxAdmin["dbtype"]) {
         case "mysql":
             return @mysql_num_rows($this->dbQryResult);
             break;
         case "postgresql":
             return @pg_num_rows($this->dbQryResult);
             break;
         case "oracle":
             return @ociNumCols($this->dbQryResult);
             break;
         case "sqlite":
             break;
         case "mssql":
             return @mssql_num_rows($this->dbQryResult);
             break;
     }
 }
Exemplo n.º 2
0
 function db_colnum($oStmt)
 {
     return ociNumCols($oStmt);
 }