Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CBC83475E2B for ; Tue, 10 Dec 2002 07:30:08 -0500 (EST) Received: from nplex.globo.com (email.globo.com [200.208.9.53]) by postgresql.org (Postfix) with ESMTP id 2B974475D93 for ; Tue, 10 Dec 2002 07:30:08 -0500 (EST) Received: from [200.219.69.252] by nplex.globo.com with HTTP; Tue, 10 Dec 2002 10:29:38 -0200 Date: Tue, 10 Dec 2002 09:29:38 -0300 Message-ID: <3DCBFE22000E6871@riosf06.globoi.com> From: angelo.rigo@globo.com Subject: forms /selects To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/22 X-Sequence-Number: 1697 Hi all I am trying to do a select from a table after the user has choosen the first letter of the name and it must display only the names with that letter sele= cted in a select box. The message i get is if i select a for example is: "the atribute 'a' not found" I would like some help to know what?s going wrong! Thank?s in advance =C2ngelo Rigo Here is my code: Search names by the first letter
">

"); printf ("Name"); do { $myrow =3D pg_fetch_array ($result,$row); if($row % 2) { $bgcolor=3D"#FFFF99"; } else { $bgcolor=3D""; } printf ("%s",$myrow[nome]); $row++; } while ($row < $numrows); printf (""); pg_close($db); ?> ________________________________________ A busca mais veloz e precisa da internet. Acesse agora: http://www.zoom.com= .br.