#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2005
    Posts
    10
    Rep Power
    0

    need a drop down list in an html form


    Hey there,
    i am trying to write an online application using the cgi module.
    what i want to do is have an html form display a drop-down list and have the values of that list be the lines of text written in a file. this would be updated almost every time the site is visited.
    i have been sucessful in writing text to a file from an html form. but i need to access this so it can be selected.
    is there a way to do this? i have found limited info on how to really use the cgi module. so if there is more indepth tutorials or docs on the use of this module, that may be helpful also.
    what i mean is. i am willing to rtfm, if i can find one.
    thanks,
  2. #2
  3. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    154
    Try:
    http://aspn.activestate.com/ASPN/Cookbook/Python/
    There may be some topics about using CGI scripts in there.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2005
    Posts
    10
    Rep Power
    0
    cool, thanks
    should be something in there that i can figgure out how to use.
    thanks for your help.
  6. #4
  7. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    154
    No problem. I hope there's something there that can help you out with what you need.

IMN logo majestic logo threadwatch logo seochat tools logo