ң

pg_affected_rows

(PHP 4 >= 4.2.0)

pg_affected_rows - (/tuples).

int pg_affected_rows (resource result)

pg_affected_rows() (//), INSERT, UPDATE DELETE, pg_query() . , 0.

1. pg_affected_rows()
<?php $result = pg_query ($conn, "INSERT INTO publisher VALUES ('Author')"); $cmdtuples = pg_affected_rows ($result); echo $cmdtuples . " tuples are affected."; ?>

: pg_cmdtuples().

. pg_query() pg_num_rows() .


ң
PostgreSQL pg_cancel_query