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

PHP Home Page

Manual Table of Contents
Up to PostgreSQL
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench 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_loexport
* pg_loimport
* pg_loopen
* pg_loread
* pg_loreadall
* pg_lounlink
* pg_lowrite
* pg_numfields
* pg_numrows
* pg_options
* pg_pconnect
* pg_port
* pg_result
* pg_trace
* pg_tty
* pg_untrace
Manual: pg_numrows
View the source code for this pageSearch the site



Previous page
 pg_numfields
 Updated
Sat, 12 Aug 2000
pg_options 
Next page


pg_numrows

(PHP3 , PHP4 )

pg_numrows -- Returns the number of rows

Description

int pg_numrows (int result_id)

Pg_numrows() will return the number of rows in a PostgreSQL result. The argument is a valid result identifier returned by pg_exec(). This function will return -1 on error.


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
Sat, 12 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.