Re: how many rows updated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux