Help me:
<input type="checkbox" name="cd[]" checked="checked" value="1">
JAVA<br>
<input type="checkbox" name="cd[]" value="0">
PERL<br>
<input type="checkbox" name="cd[]" value="0">
PYTHON<br>
<input type="checkbox" name="cd[]" value="0">
C#<br>
<input type="checkbox" name="cd[]" checked="checked" value="1">
i want to get all value(check and uncheck). But my array show array(1,1). i need array(1,0,0,0,1). And when i checkbox is checked(change value=1). checkbox isn't checked(change value=0).