html

<input type="checkbox" name="Signup[tag[]]" value="1">name1 <input type="checkbox" name="Signup[tag[]]" value="2">name2 <input type="checkbox" name="Signup[tag[]]" value="3">name3 

how to catch php data syntax html Tried var_dump [$ _ POST ['Signup]]; displays only one position

  • and give each different names and on the side of php check each separately is not an option? or in advance in js to collect values ​​in an array in send in php one variable. and var_dump you need regular brackets instead of square brackets - Maximmka
  • That is, with such a syntax it is not possible to get an array of selected checkboxes? - Victor Vasiliev

0