<form method='post'>
<input type='checkbox' name='checkboxvar[]' value='Option One'>1<br>
<input type='checkbox' name='checkboxvar[]' value='Option Two'>2<br>
<input type='checkbox' name='checkboxvar[]' value='Option Three'>3<br>
<input type='submit' class='buttons'>
</form>
<?php
if (isset($_POST['checkboxvar'])) {
var_dump($_POST['checkboxvar']);
}
?>