<form name="myform"  action="index2.php" method="post">   
            兴趣爱好

           <input type="checkbox" name="v[]" value="阅读"/>阅读

  </form>  

PHP页面:
$result = "";
foreach( $_POST['v'] as $i)
{
 echo '<br>';
 $result .= $i;
}
echo $result;

注意:name="v[]";

相关文章:

  • 2022-12-23
  • 2021-11-08
  • 2022-01-28
  • 2021-12-16
  • 2021-12-06
  • 2021-12-16
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-11-07
  • 2021-06-19
  • 2022-01-02
  • 2022-01-02
  • 2021-11-07
相关资源
相似解决方案