Hello,
We Really Apologize about the Delay! We have checked out your Issue and understand your issue regarding this. If you are using Checkboxes, then you will need to use arrays to get the values of all the Checkboxes in the PHP.
Consider using the following HTML Code for the Checkboxes:
Your Value
Please notice the name Attribute in the above code: name="checkbox[]". This stores the Values of all the Checkboxes in the array: checkbox.
Now, your PHP Code will be:
$checkbox = isset( $_POST['checkbox'] ) ? $_POST['checkbox'] : '';
if( is_array( $checkbox ) ) {
$checkbox = !empty($checkbox) ? "Checkbox: " . implode( ', ', $checkbox ) . "
" : '';
} else {
$checkbox = isset($checkbox) ? "Checkbox: $checkbox
" : '';
}
This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.