PHP multiple radio buttons

后端 未结 3 1568
被撕碎了的回忆
被撕碎了的回忆 2021-01-26 04:24

how can i process all radio buttons from the page?




        
3条回答
  •  梦毁少年i
    2021-01-26 04:52

    Use a foreach loop

     $val )
        echo "$key -> $val\n";
    ?>
    

    $key will be the name of the selected option and $val, well, the value.

提交回复
热议问题