Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id EE1BA9FA136 for ; Sun, 3 Dec 2006 19:23:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 17360-07 for ; Sun, 3 Dec 2006 19:23:37 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by postgresql.org (Postfix) with ESMTP id A93629F9F8D for ; Sun, 3 Dec 2006 19:23:52 -0400 (AST) Received: from ramlap (c-24-2-109-170.hsd1.mn.comcast.net[24.2.109.170]) by comcast.net (sccrmhc11) with SMTP id <2006120323235001100ri3s3e>; Sun, 3 Dec 2006 23:23:51 +0000 From: "Randy Moller" To: "'Mag Gam'" Cc: Subject: Re: HTML FORMS selected question Date: Sun, 3 Dec 2006 16:23:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccXL/ElwW3adK3dRjit7oY/KTXAAAAAetQg In-Reply-To: <457358D9.4000404@gmail.com> Message-Id: <20061203232352.A93629F9F8D@postgresql.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.102 tagged_above=0 required=5 tests=BAYES_50, DNS_FROM_RFC_POST, MSGID_FROM_MTA_ID X-Spam-Level: *** X-Archive-Number: 200612/4 X-Sequence-Number: 3672 Maybe it's just a typo, but your pg_query is returning into the var $result_ip, while your fetch is referencing var $result (without _ip). Maybe that's just a typo for your question, but if not, that is at least one error. Also, it would be helpful to know what error you're getting.... Randy Moller -----Original Message----- From: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Chris Sent: Sunday, December 03, 2006 4:08 PM To: Mag Gam Cc: pgsql-php@postgresql.org Subject: Re: [PHP] HTML FORMS selected question Mag Gam wrote: > I am having trouble getting values populated in my form... Here is what > I got so far: > > //The values that need to be selected > $result_ip=pg_query($dbconn,$test_query); > >