simple HTML form and PHP question

Discussion in 'PHP' started by jpmad4it, Jan 25, 2006.

  1. #1
    hello

    i have a HTML form (which the user completes) that submits the information in it to a PHP script which then compiles the information and enters it into a database. It does this by using the POST method. The problem is not all the data is being passed to the Database. I have noticed that the fields which have data missing from them is where the form is of the drop-down list type e.g. title -> mr, mrs, miss, Dr. Can anyone tell me what i need to do to pass the drop-down list information to the PHP script and then to the database? all the other information in the form is being passed totally fine.

    any help will be great
    J :confused:
     
    jpmad4it, Jan 25, 2006 IP
  2. martian2k4

    martian2k4 Peon

    Messages:
    74
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you given all of the options in the drop down box a value?
     
    martian2k4, Jan 25, 2006 IP
  3. jpmad4it

    jpmad4it Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes its working now thanks!!!
     
    jpmad4it, Jan 25, 2006 IP