Hello Everybody! thanks for interest. im runnnig an update command in my program , but when update affected 0 rows its looks like success to . i know theres function which tells how much rows affected in specific command ? do u know somethin about that ? Would really appreciate thank u very much !
mysql_num_rows() gives you the number of rows retrieved in a SELECT query. mysql_affected_rows() gives you the number of rows affected in a UPDATE/INSERT/DELETE query.