Home > Backend Development > PHP Tutorial > php怎样判断复选框是否被复选了?解决思路

php怎样判断复选框是否被复选了?解决思路

WBOY
Release: 2016-06-13 10:16:54
Original
773 people have browsed it

php怎样判断复选框是否被复选了?
php怎么判断复选框被复选了?

譬如一段php代码:
  if 复选框.checked
  {
  ...
  }
  else
  {
  ...
  }

判断语句怎么写?
 


------解决方案--------------------
if($_POST['name']){
//
}

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template