Try mysql_affected_rows()

It will tell you how many rows were affected.

Maxim Maletsky
www.PHPBeginner.com



-----Original Message-----
From: Joseph Bannon [mailto:[EMAIL PROTECTED]] 
Sent: mercoledý 26 settembre 2001 21.47
To: PHP (E-mail)
Subject: [PHP] updating a database (mysql)


When I update my mysql database, is there a way with PHP to know what or
if any records where updated?

Joseph



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to