sqlsrv_has_rows

sqlsrv_has_rows - Indicates whether the specified statement has rows
Manual
Code Examples

sqlsrv_has_rows( resource$stmt ): bool

Indicates whether the specified statement has rows.

Parameters

stmt

A statement resource returned by sqlsrv_query or sqlsrv_execute.

Return Values

Returns true if the specified statement has rows and false if the statement does not have rows or if an error occurred.

Related Functions

Example of sqlsrv_has_rows

Show all examples for sqlsrv_has_rows

PHP Version: