Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

two value radio button

Fo Angel answered on February 3, 2023 Popularity 7/10 Helpfulness 2/10

Contents


More Related Answers

  • html radio group
  • html radio button checked
  • how to add two radio button in html
  • Get the value of selected radio button
  • radio selected
  • html radio only one checked
  • how to get the input from the radio button ?
  • Give each of the radio and checkbox inputs the value attribute. Use the input label text, in lowercase, as the value for the attribute.
  • radio button group get value javascript
  • allow multiple select on radio button in html
  • radio button name grouping
  • radio button multiple selection with same name
  • difference between radio buttons and checkbox
  • radio by default selected
  • can se have same id for radio button in html
  • set radio button group value
  • only one selected radio button
  • check if one of the radio button is checked
  • why am i able to select multiple radio buttons
  • set radio button group value
  • selecting only one radio button
  • change radio button value manually
  • square radio button in html
  • button like radio type
  • checkbox as radio button
  • set radio button group value
  • one of radio list is required
  • html radio button checked
  • horizontal radio button

  • two value radio button

    0

    Passing two values through a radio button


    // split into comma separate array

    $option = explode(",", $_POST['option']);

    // get value at first index

    $option_value = $option[0];

    // get value at second index

    $option_type = $option[1];

    ?>


     if(isset($_POST['submit'])){

    if(!empty($_POST['option'])) {

    echo ' ' . $_POST['option'];

    } else {

    echo 'Please select a session.';

    }

    }

    ?>

    Popularity 7/10 Helpfulness 2/10 Language javascript
    Link to this answer
    Share Copy Link
    Contributed on Feb 03 2023
    Fo Angel
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.