Error thrown

Call to undefined function mysql_affected_rows()