pg_fetch_all

PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
pg_fetch_all - Fetches all rows from a result as an array
Manual
Code Examples

Example #1 PostgreSQL fetch all

Result: Array ( [0] => Array ( [id] => 1 [name] => Fred ) [1] => Array ( [id] => 2 [name] => Bob ) )
PHP Version:


Function pg_fetch_all:

PostgreSQL Functions

Most used PHP functions