Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B8115475D0D for ; Sat, 26 Oct 2002 13:41:29 -0400 (EDT) Received: from web10406.mail.yahoo.com (web10406.mail.yahoo.com [216.136.130.98]) by postgresql.org (Postfix) with SMTP id 133A8475C9E for ; Sat, 26 Oct 2002 13:41:29 -0400 (EDT) Message-ID: <20021026174129.26246.qmail@web10406.mail.yahoo.com> Received: from [65.40.96.235] by web10406.mail.yahoo.com via HTTP; Sat, 26 Oct 2002 10:41:29 PDT Date: Sat, 26 Oct 2002 10:41:29 -0700 (PDT) From: Bruce Young Subject: Re: can't retrieve data through PHP To: pgsql-php@postgresql.org In-Reply-To: <20021026172806.GF12484@lunar.radom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/61 X-Sequence-Number: 1576 php connection query: "; } pg_close($dbconnect); ?> --- dan radom wrote: > * 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 > > ---------------------------(end of > broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister > command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/