★ wanayoo — archive 1999 http://fr.php.net/manual/function.ingres-num-rows.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Ingres II
Quick Reference
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 pageDutch version of this pageBrazilian Portuguese version of this page
Korean version of this pageCzech version of this page
Ingres II
* ingres_connect
* ingres_pconnect
* ingres_close
* ingres_query
* ingres_num_rows
* ingres_num_fields
* ingres_field_name
* ingres_field_type
* ingres_field_nullable
* ingres_field_length
* ingres_field_precision
* ingres_field_scale
* ingres_fetch_array
* ingres_fetch_row
* ingres_fetch_object
* ingres_rollback
* ingres_commit
* ingres_autocommit

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

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



Previous page
 ingres_query
 Updated
Mon, 08 Jan 2001
ingres_num_fields 
Next page


ingres_num_rows

(PHP 4 >= 4.0.2)

ingres_num_rows --  Get the number of rows affected or returned by the last query

Description

intingres_num_rows ([resource link])

For delete, insert or update queries, ingres_num_rows() returns the number of rows affected by the query. For other queries, ingres_num_rows() returns the number of rows in the query's result.

Note: This function is mainly meant to get the number of rows modified in the database. If this function is called before using ingres_fetch_array(), ingres_fetch_object() or ingres_fetch_row() the server will delete the result's data and the script won't be able to get them.

You should instead retrieve the result's data using one of these fetch functions in a loop until it returns false, indicating that no more results are available.

See also ingres_query(), ingres_fetch_array(), ingres_fetch_object() and ingres_fetch_row().


 About Notes


Previous page
 ingres_query
 Updated
Mon, 08 Jan 2001
ingres_num_fields 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
France
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.