You code will not work, you are moving too fast with too much information but fails to understand them, you should slow down, do simple exercises to understand each topic before you move on to the next one. I saw that you have mixed up alert which is a javascript command with php. put aside javascript for the time being, do one thing at a time.
I will show you one example of passing checkbox value from checkbox.html to table.php.
checkbox.html page, compare this with your html file on the checkboxes and labels part to discover your mistakes:
<!DOCTYPE html>
<html>
<body>
<form id="myCheckboxForm" name="wholeForm" action="table.php" method="post">
<ul class="list">
<li>
<input type="checkbox" name="ckboxList[]" id="Ckbox1" value="checkbox1">
<label for="Ckbox1">Checkbox 1</label>
</li>
<li>
<input type="checkbox" name="ckboxList[]" id="Ckbox2" checked value="checkbox2">
<label for="Ckbox2">Checkbox 2</label>
</li>
<li>
<input type="checkbox" name="ckboxList[]" id="Ckbox3" value="checkbox3">
<label for="Ckbox3">Checkbox 3</label>
</li>
<li>
<input type="checkbox" name="ckboxList[]" id="Ckbox4" checked value="checkbox4">
<label for="Ckbox4">Checkbox 4</label>
</li>
</ul>
<input type="submit" class="but" name="submit" id="submit" value="Update Table">
</form>
</body>
</html>
table.php page:
<!DOCTYPE html>
<html>
<body>
<table>
= $_POST[<td>$value</td></tr>";
}
}
?>
</table>
</body>
</html>
Save these 2 files in a folder and start with the checkbox.html and see the result.
My article on the server side story is just a bridging introduction, As I mentioned in the article, you should visit
PHP 5 Tutorial[
^] for in-dept learning of PHP scripting.