Date: 09/15/99
- Next message: Bug Database: "[PHP-DEV] Bug #2311 Updated: Cannot get Character Field out of PostgreSQL 6.5.0"
- Previous message: Bug Database: "[PHP-DEV] Bug #1354 Updated: XML parser does not undersat attributes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: wst <email protected>
Operating system: SuSE Linux 6.0 (Kernel 2.0.36)
PHP version: 3.0.12
PHP Bug Type: PostgreSQL related
Bug description: Cannot get Character Field out of PostgreSQL 6.5.0
The following code results in "Nothing"-Output:
$mystring = (string)pg_result($kat_result, $kat_i, "kat_name");
echo "$my_string";
Gives the same result with or without string-casting.
The same query in psql works very well. "kat_name" is a CHARACTER(40) field. I can retrieve and display an integer field out of the same table and row without any problems.
My configuration:
486/100 - 32 MB Memory
SuSE Linux 6.0 - Kernel 2.0.36
Apache 1.3.6
PostgreSQL 6.5.0 (compiled by gcc 2.7.2.3)
PHP 3.0.12 running as CGI.
Please help.
Thanks in adv.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #2311 Updated: Cannot get Character Field out of PostgreSQL 6.5.0"
- Previous message: Bug Database: "[PHP-DEV] Bug #1354 Updated: XML parser does not undersat attributes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

