I have to admit I am a convert form Perl to PHP. For many years I thought Perl was better, but then I started using PHP more and more when I began developing more advanced websites. I won't go into anything advanced in this tutorial, but I did want to give a step by step account as to how to return the number of rows affected when a MySQL query is run in PHP. In Perl it would be $DBI::rows will give you the number of rows, in PHP it is a bit different, but the concept is the same.
http://www.ehow.com/how_5111199_retrieve-rows-affected-phpmysql-query.html
Monday, June 22, 2009
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment