What is the common issue when trying to access the values of radio buttons in PHP forms?

When trying to access the values of radio buttons in PHP forms, the common issue is that only the selected radio button's value is sent in the form submission. To access the selected radio button's value, you need to use the `$_POST` or `$_GET` superglobal array to retrieve the value based on the name attribute of the radio buttons.

// HTML form with radio buttons
<form method="post">
  <input type="radio" name="color" value="red"> Red
  <input type="radio" name="color" value="blue"> Blue
  <input type="radio" name="color" value="green"> Green
  <input type="submit" name="submit">
</form>

// PHP code to access the selected radio button's value
if(isset($_POST['submit'])) {
  $selectedColor = $_POST['color'];
  echo "Selected color: " . $selectedColor;
}