diff options
| author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
| commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
| tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /ext/pgsql/tests/result.inc | |
| parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
| download | php-git-PHP-5.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'ext/pgsql/tests/result.inc')
| -rw-r--r-- | ext/pgsql/tests/result.inc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/pgsql/tests/result.inc b/ext/pgsql/tests/result.inc deleted file mode 100644 index fb38938b89..0000000000 --- a/ext/pgsql/tests/result.inc +++ /dev/null @@ -1,24 +0,0 @@ -<?php -error_reporting(E_ALL); - -include 'config.inc'; - -$db = pg_connect($conn_str); - -$sql = "SELECT * FROM $table_name"; -$result = pg_query($db, $sql) or die('Cannot qeury db'); -$rows = pg_num_rows($result); - -$rec = pg_fetch_object($result, 1); -var_dump($rec); -$rec = pg_fetch_array($result, 1); -var_dump($rec); -$rec = pg_fetch_row($result, 1); -var_dump($rec); -$rec = pg_fetch_assoc($result); -var_dump($rec); -var_dump(pg_result_seek($result, 0)); - -echo "Ok\n"; - -?>
\ No newline at end of file |
