★ wanayoo — archive 1999 http://php.net/manual/es/function.pg-cmdtuples.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
PostgreSQL
English version of this pageGerman version of this pageJapanese version of this page
Italian version of this pageFrench version of this pageHungarian version of this page
Spanish version of this page
* pg_Close
* pg_cmdTuples
* pg_Connect
* pg_DBname
* pg_ErrorMessage
* pg_Exec
* pg_Fetch_Array
* pg_Fetch_Object
* pg_Fetch_Row
* pg_FieldIsNull
* pg_FieldName
* pg_FieldNum
* pg_FieldPrtLen
* pg_FieldSize
* pg_FieldType
* pg_FreeResult
* pg_GetLastOid
* pg_Host
* pg_loclose
* pg_locreate
* pg_loopen
* pg_loread
* pg_loreadall
* pg_lounlink
* pg_lowrite
* pg_NumFields
* pg_NumRows
* pg_Options
* pg_pConnect
* pg_Port
* pg_Result
* pg_tty

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: pg_cmdTuples
View the source code for this pageSearch the site



Previous page
 pg_Close
 Updated
Thu, 14 Sep 2000
pg_Connect 
Next page


pg_cmdTuples

(PHP3 <= 3.0.16, PHP4 )

pg_cmdTuples -- Devuelve el número de tuplas afectadas

Descripción

int pg_cmdtuples (int result_id)

pg_cmdTuples() devuelve el número de tuplas (instancias o filas) afectadas por consultas INSERT, UPDATE y DELETE. Si no hay ninguna tupla afectada la función devolverá 0.

Ejemplo 1. pg_cmdtuples


<?php
$result = pg_exec($conn, "INSERT INTO verlag VALUES ('Autor')");
$cmdtuples = pg_cmdtuples($result);
echo $cmdtuples . " <- cmdtuples affected.";
?>
      


 About Notes


Previous page
 pg_Close
 Updated
Thu, 14 Sep 2000
pg_Connect 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.