Thanks for the help it solved the problem.
Message: 8
Date: Mon, 10 Jan 2005 16:05:59 -0800
From: "Patric Michael" <[EMAIL PROTECTED]>
Subject: Re: [Tutor] CGI problem
To: tutor@python.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII
Hi
Hi David...
You need to explicitly name your form element to "inputkey" to make
your current code work correctly. ( Based on what you have shown
below.)
Or, to make the code correct, change "inputkey" to "language".
Remember that the name in each form element becomes the key in the
key/value
I am trying to write a CGI program here is the code of
the HTML
ALL
Bromley
Lewisham
Here is the python
#!/usr/bin/env python
boroughdict = {
'BROMLEY': 0.5,
'LEWISHAM':0.1
}
class dummy:#mocked up input o