Let's say you've got a form with check boxes like below:
<form method="post" action="path to script">
<input type="textbox" id="text[]" value="" /> ***
<input type="textbox" id="text[]" value="" /> ***
<input type="textbox" id="text[]" value="" /> ****
<input type="textbox" id="text[]" value="" /> ****
</form>