Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DF637474E44 for ; Sat, 26 Oct 2002 13:28:08 -0400 (EDT) Received: from lunar.radom.org (12-253-17-200.client.attbi.com [12.253.17.200]) by postgresql.org (Postfix) with ESMTP id EC66C475ECE for ; Sat, 26 Oct 2002 13:28:06 -0400 (EDT) Received: (from graffix@localhost) by lunar.radom.org (8.11.6/8.11.6) id g9QHS6C13269 for pgsql-php@postgresql.org; Sat, 26 Oct 2002 11:28:06 -0600 X-Authentication-Warning: lunar.radom.org: graffix set sender to dan@radom.org using -f Date: Sat, 26 Oct 2002 11:28:06 -0600 From: dan radom To: pgsql-php@postgresql.org Subject: Re: can't retrieve data through PHP Message-ID: <20021026172806.GF12484@lunar.radom.org> Reply-To: dan@radom.org Mail-Followup-To: pgsql-php@postgresql.org References: <20021026172227.64092.qmail@web10412.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021026172227.64092.qmail@web10412.mail.yahoo.com> User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/60 X-Sequence-Number: 1575 * Bruce Young (hbrucey@yahoo.com) wrote: > 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 > how about showing us the connection and query parts of view.php dan