Php - testing if a radio button is selected and get the value

后端 未结 7 721
温柔的废话
温柔的废话 2020-12-08 12:31

I\'m using php. I\'d like to know how can I test if a radio button is selected and get the value? i can test if the radio button is selected but i cannot get the value. I c

7条回答
  •  我在风中等你
    2020-12-08 13:00

    I suggest you do it through the GET request: for example, index.html:

    
    
    Answer 1
    Answer 2
    Answer 3
    Answer 4

    this is sendpost.php:

    
    

提交回复
热议问题