what “type” is an option chosen from a select tag

前端 未结 3 1585
孤街浪徒
孤街浪徒 2021-01-25 02:21

I am new to PHP and attempting get the value of an option chosen from a select tag. I am familiar with some types of input such as radio, text, checkboxes e.t.c. my question is

3条回答
  •  暖寄归人
    2021-01-25 02:58

    First give a name to select tag. and in the case of option give a value to each option. like this..

    Then in the php there is a little syntax problem. You have to put $party_select outside of the quote. The code should be..

    
    

    Hope this helps..

提交回复
热议问题