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:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:55 AM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to