Women in Technology

Hear us Roar



Article:
  PHP Form Handling
Subject:   Radio button values to another page.
Date:   2004-09-15 11:28:47
From:   johnsherman
How can I pass the value from a selected radio button to a second page? I am able to pass all other values from the form, but not the button value.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • David Sklar photo Radio button values to another page.
    2004-09-17 08:27:01  David Sklar | O'Reilly Author [View]

    The value attached to the value attribute of a selected radio button is submitted to the server and should be available in $_POST (or $_GET, depending on the form method). If your HTML is correct, the radio value should be treated just like any other form element...