“Undefined index” error when saving empty array with checkboxes
I’m not seeing the original snippet from before so I’m not sure of the context anymore. The undefined index notice you are getting is telling you that $_POST[‘remove_field’] does not exist. If no checkbox in your array was set, the $_POST array will not have an index for ‘remove_field’, and you’ll see the error. To … Read more