★ wanayoo — archive 1999 http://www.php.net/manual/fr/function.pg-numrows.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageHungarian version of this page
PostgreSQL
* 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
Manual: pg_NumRows
View the source code for this pageSearch the site



Previous page
 pg_NumFields
 Updated
Sun, 06 Aug 2000
pg_Options 
Next page


pg_NumRows

(unknown)

pg_NumRows -- Retourne le nombre de lignes.

Description

int pg_numrows (int result_id)

pg_NumRows() retourne le nombre de lignes d'un résultat PostgreSQL. L'argument doit être un identifiant de résultat valide retourné par pg_Exec(). Cette fonction retournera -1 en cas d'erreur.


User Contributed Notes: pg_NumRows


ccrawf@usit.net
13-Dec-1999 11:45
ok, i get it...
$result=pg_exec($name, $query);
$num_rows=pg_numrows($result);



 About Notes


Previous page
 pg_NumFields
 Updated
Sun, 06 Aug 2000
pg_Options 
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.