|
cubrid_affected_rowsReturn the number of rows affected by the last SQL statement Description
int cubrid_affected_rows
([ resource
$conn_identifier
] )
int cubrid_affected_rows
([ resource
$req_identifier
] )The cubrid_affected_rows function is used to get the number of rows affected by the SQL statement (INSERT, DELETE, UPDATE). Parameters
Return ValuesNumber of rows affected by the SQL statement, when process is successful. -1, when SQL statement is not INSERT, DELETE or UPDATE.
ExamplesExample #1 cubrid_affected_rows example
<?php The above example will output: Rows deleted: 5 See Also
|