Question: how to check if the checkbox is checked or not in php?
Answer: When the checkbox is checked the value of the <input type=“checkbox” … /> is send with the post data, and if it isn't checked the value of the <input type=“hidden” … /> is send with the post data, so you can just check whether the value is 0 (unchecked) or 1 (checked).