kNish wrote: > Hi, > > to get a text field value from a php page, getvalue function is used. > > . > . > form = cgi.FieldStorage() > artist = form.getvalue('artist') >
Well, that's one way. You can also use form['artist'].value, which is the style I've seen most often. You can use whichever one makes sense to you. > To get a value from a drop down box, what function should be used. > It's exactly the same. HTTP GET and POST data doesn't know what kind of field it was. It's just a list of name=value pairs -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32