Re: how many rows updated

From: Date: Fri, 12 Sep 2003 02:01:21 +0000
Subject: Re: how many rows updated
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-30471@lists.php.net to get a copy of this message
Jason S Motes wrote:
Thanks, i could not find that function in the book i was using. sorry for the inconvenience. John W. Holmes wrote:
Jason S Motes wrote:
When updating or deleting a table is there anyway to find out how many rows where affected using php??
I don't even use PG, but it took me 5 seconds to find this: http://us2.php.net/manual/en/function.pg-affected-rows.php
It was added in php version 4.2 and higher.
The book you are using prolly is from php 4.0x. it would be under pg_cmdtuples() Tyler Lane tlane@lyrical.net

« previous php.db (#30471) next »