<form name="form" method="post" action="">
<input type="checkbox" name="jinbi" value="0" />
<input type="submit" name="submit" />
</form>
  
  当我选中 checkbox 时 点提交按钮在php文件中怎么判断  checkbox是否为选择中,如果选中那果输出111111,否则未选择输出222222.(默认是未选中)
  
  if($_POST['jinbi']=1){
      echo "111111111";
  
  }else{
  
      echo "22222222";
  }