My checkbox isn't static.
Values are taken from the database.
And there is no definite number of checkboxes.
See the code below.
<?
$x = 0;
while ($num_domains > $x) {
$domain = mysql_result($query_domains,$x,"domain_name");
?>
<input type="checkbox" name= "<?= $domain ?>" value= "<?= $domain ?>"></input>
<?
echo "$domain<br>";
$x++;
}
?>