sqlsrv_num_rows example



        return sqlsrv_fetch_object($this->resultID, $className);
    }

    /** * Returns the number of rows in the resultID (i.e., SQLSRV query result resource) */
    public function getNumRows(): int
    {
        if (is_int($this->numRows)) {
            $this->numRows = sqlsrv_num_rows($this->resultID);
        }

        return $this->numRows;
    }
}
Home | Imprint | This part of the site doesn't use cookies.