What issue is the forum user facing with the checkbox functionality in their PHP code?

The forum user is facing an issue where the checkbox functionality in their PHP code is not working properly. To solve this issue, they need to ensure that the checkbox input field has a unique name attribute for each checkbox option. This will allow the PHP code to properly handle the form submission and process the selected checkbox values.

<form method="post" action="process_form.php">
  <input type="checkbox" name="option[]" value="option1"> Option 1<br>
  <input type="checkbox" name="option[]" value="option2"> Option 2<br>
  <input type="checkbox" name="option[]" value="option3"> Option 3<br>
  <input type="submit" value="Submit">
</form>