|
cubrid_affected_rowsReturn the number of rows affected by the last SQL statement Beschreibung
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). Parameter-Liste
RückgabewerteNumber of rows affected by the SQL statement, when process is successful. -1, when SQL statement is not INSERT, DELETE or UPDATE.
BeispieleBeispiel #1 cubrid_affected_rows example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: Rows deleted: 5 Siehe auch
|