public affectedRows ()
Returns the number of affected rows by the lastest INSERT/UPDATE/DELETE executed in the database system
1 2 | $connection ->execute( "DELETE FROM robots" ); echo $connection ->affectedRows(), ' were deleted' ; |
public affectedRows ()
Returns the number of affected rows by the lastest INSERT/UPDATE/DELETE executed in the database system
1 2 | $connection ->execute( "DELETE FROM robots" ); echo $connection ->affectedRows(), ' were deleted' ; |
Designed by : w10schools
service@w10schools.com
Please login to continue.