faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

Assuming that you have sent a successful UPDATE query to MySQL,what function might you use to determine how many rows have been updated?

Mar 22nd, 2008 21:26
ha mo, Articles Way, Himanshu Jain,


You can discover the number of rows altered by a SQL statement with 
the mysql_affected_rows()function.
====
w3schools.com/php/func_mysql_affected_rows.asp 
i hope that helps.
http://americanahost.com
http://www.qwesz.com
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com