sybase_affected_rows

Returns the number of rows affected by the last INSERT, UPDATE, or DELETE query on the connection referred to by $conn.

This function is typically used for INSERT, UPDATE, or DELETE statements. For SELECT statements, use the sybase_num_rows() function instead.

Syntax

int sybase_affected_rows([resource $conn])

Parameters

Returns

The number of rows affected by the last INSERT, UPDATE, or DELETE query.