Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1BA984753A1 for ; Sat, 26 Oct 2002 13:22:28 -0400 (EDT) Received: from web10412.mail.yahoo.com (web10412.mail.yahoo.com [216.136.128.126]) by postgresql.org (Postfix) with SMTP id 880FA474E44 for ; Sat, 26 Oct 2002 13:22:27 -0400 (EDT) Message-ID: <20021026172227.64092.qmail@web10412.mail.yahoo.com> Received: from [65.40.96.235] by web10412.mail.yahoo.com via HTTP; Sat, 26 Oct 2002 10:22:27 PDT Date: Sat, 26 Oct 2002 10:22:27 -0700 (PDT) From: Bruce Young Subject: can't retrieve data through PHP To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/59 X-Sequence-Number: 1574 my script that does insert works correctly, but i get this error when retrieving data: Warning: pg_exec(): supplied argument is not a valid PostgreSQL link resource in /home/httpd/htdocs/view.php on line 115 Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in /home/httpd/htdocs/view.php on line 118 i am using postgreSQL 7.2.3, php/mod_php 4.2.2 on Gentoo Linux. - bruce __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/