Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2687D475AE5 for ; Wed, 4 Sep 2002 06:09:14 -0400 (EDT) Received: from mail.surguttel.ru (unknown [217.106.46.1]) by postgresql.org (Postfix) with ESMTP id 0BE61475925 for ; Wed, 4 Sep 2002 06:09:07 -0400 (EDT) Received: from dr_sad (oper.surguttel.ru [217.106.46.7] (may be forged)) by mail.surguttel.ru (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g84N81CH020495 for ; Wed, 4 Sep 2002 16:08:02 -0700 Date: Wed, 4 Sep 2002 16:09:09 +0600 From: "dr_sad(surguttel)" X-Mailer: The Bat! (v1.53d) Reply-To: "dr_sad(surguttel)" X-Priority: 3 (Normal) Message-ID: <171398422475.20020904160909@surguttel.ru> To: pgsql-php@postgresql.org Subject: Help, plz... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavis-milter (http://amavis.org/) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/13 X-Sequence-Number: 1468 use: Linux SuSE 8.0 Pro PostgreSQL 7.2 PHP 4.2.2 Apache 2.0.39 All posible deb messages in php.ini are enabled, but follow code: ------------------------------------------------------------------------------- PostgreSQL PHP Test "); require_once('DB.php'); $userid='postgres'; $password='gecnzr'; $dbhost='dbserv'; $database='ll'; $db = DB::connect("pgsql://$userid:$password@$dbhost/$database"); if ( DB::iserror( $db )) { die("DB.connect " . $db->getMessage()); } $sql = "select * from agreements"; $q = $db->query( $sql ); if ( DB::iserror( $q )) { die("Query " . $q->getMessage()); } while ( $row = $q->fetchRow() ) { ?> "); ?>
------------------------------------------------------------------------------- return follow html: ------------------------------ PostgreSQL PHP Test BEGIN
------------------------------ can anybody help me? I don't see any error messages both apache and php logs... :( If I change sitax of command, of course i see error messages... Heh... -- respect, Andrey.