Build Your Own DatabaseDriven Website Using PHP amp;amp; MySQL [Electronic resources]

Kevin Yank

نسخه متنی -صفحه : 190/ 131
نمايش فراداده

mysql_affected_rows

mysql_affected_rows([link_id])

This function returns the number of affected rows in the previous MySQL INSERT, UPDATE, DELETE, or REPLACE operation performed with the specified link_id. If the link is not specified, then the last-opened link is assumed. It returns -1 if the previous operation failed.