|
sqlsrv_num_rowsRetrieves the number of rows in a result set Description
mixed sqlsrv_num_rows
( resource
$stmt
)Retrieves the number of rows in a result set. This function requires that the statment resource be created with a static or keyset cursor. For more information, see sqlsrv_query, sqlsrv_prepare, or » Specifying a Cursor Type and Selecting Rows in the Microsoft SQLSRV documentation. Parameters
Return Values
Returns the number of rows retrieved on success and Examples
Example #1 sqlsrv_num_rows example
<?php See Also
|