Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 587E44761B8 for ; Fri, 8 Nov 2002 12:07:39 -0500 (EST) Received: from marsha.pcisys.net (marsha.pcisys.net [216.229.32.146]) by postgresql.org (Postfix) with ESMTP id A6E1E4760F0 for ; Fri, 8 Nov 2002 12:07:38 -0500 (EST) Received: from [208.202.106.208] (moe1.meg106-208.cos.pcisys.net [208.202.106.208]) by marsha.pcisys.net (8.12.5/8.12.5) with ESMTP id gA8H7cHE020343 for ; Fri, 8 Nov 2002 10:07:42 -0700 (MST) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4 Date: Fri, 08 Nov 2002 10:07:39 -0700 Subject: Re: Problem with html select lists and postgres From: Keary Suska To: Postgres-PHP Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/37 X-Sequence-Number: 1619 on 11/8/02 1:00 AM, almah@wanadoo.es purportedly said: > When I use a select list (to have an idea about what I mean, what I call a > "select list" is usually called as well a "combo box" in a visual language, > for instance, Visual C++), well, I was telling that when using a "HTML > select list" and any option contains a blank like this: > > > > Then, when try to use the associated variable to the select list, in this > case "category", I don't get the right value but the first part of it, for > example: > > If I select the "System Manager" option I will get in the variable > "category" the value "System" because after that there is a blank. This likely means that you have a broken user agent (browser), or bad code. The solution to the problem should be to url-encode your values. Hence 'System Manager' becomes 'System%20Manager'. If this doesn't work, re-examine your code. The problem is probably there. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet"