RE: [PHP] pg_result pg_fetch_row pg_fetch_array
| From: | Rick Emery | Date: | Mon, 18 Feb 2002 16:55:15 +0000 |
| Subject: | RE: [PHP] pg_result pg_fetch_row pg_fetch_array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85222@lists.php.net to get a copy of this message | ||
If they'e like the mysql equivalents, then:
pg_result() fetches a single value
pg_fetch_row() fetches a row from the result set. Access each value with an
integer subscript.
pg_fetch_array() fetches a row from the result set. Access each value with
the name of the column/field
read the manual for more exciting, definitive, informative explanations
-----Original Message-----
From: * nea * [mailto:nea@fuerzag.ulatina.ac.cr]
Sent: Monday, February 18, 2002 10:55 AM
To: php-general@lists.php.net
Subject: [PHP] pg_result pg_fetch_row pg_fetch_array
Which is the diference between this functions:
pg_result, pg_fetch_row, and pg_fetch_array
@@@@
@@()@@ wWWWw Andrea Hernandez Alfaro
@@@@ (___) Dpto. Computo, Area Internet
/ Y Universidad Latina de Costa Rica
\ | \ |/
jgs|// \\|/// "Your mind is your most powerful resource"
^^^^^^^^^^^^^^^
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php