Hi there.
I'm not sure I can help you, but let's try and see...
You said:
But It only return values if I check any of the checkboxes.
This is the expected behaviour, since $_POST will only consider checkboxes that were checked (otherwise there is no point in taking a value that is NOT being passed along).
After a quick thinking I've came up with this solution:
For each checkox put a hidden field as well, with "yes" or "no" as a value, and when you start printing the checkboxes, check the hidden field associated with it to know if you must check it or not.
You can do a simple JS routine to change the hidden fields values to yes or no when the user checks a checkbox.
About your second question, I guess you already know the answer, but here it goes:
I'd never use a update loop, since too much db communication can slowdown your page and create several problems, so...
Detect wich one was modified before submitting it to MYSQL !!!
Lat minute thought: Why do you use checkboxes for this??? I'd use a radio button, so the value is either yes or no and it will be passed to $_POST... This would solve your problem right away...
Hope it helps.
Best regards,