Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 947375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:04:25+00:00 2026-05-15T23:04:25+00:00

I have a simple HTML form which consists of radio buttons where user has

  • 0

I have a simple HTML form which consists of radio buttons where user has to select 1 out of three. Now the Objective is to save the responses of the user, so we admin can view them later. I am more interested in their actual response rather than values field.

here is the sample code

<table border="0"> 
<tr><td><input type="hidden" name="question-11-order" value="0" /><input type="radio" name="question-11-answer" value="1" /></td><td>I am a mixer and mingler at parties.</td></tr> 
<tr><td><input type="radio" name="question-11-answer" value="2" /></td><td>I prefer one-on-one conversations.</td></tr> 
<tr><td><input type="radio" name="question-11-answer" value="3" /></td><td>I'm really in between.</td></tr> 
</table> 
<br /> 


<table border="0"> 
<tr><td><input type="hidden" name="question-39-order" value="0" /><input type="radio" name="question-39-answer" value="1" /></td><td>I derive satisfaction from finishing projects.</td></tr> 
<tr><td><input type="radio" name="question-39-answer" value="2" /></td><td>I derive satisfaction from starting projects.</td></tr> 
<tr><td><input type="radio" name="question-39-answer" value="3" /></td><td>I'm really in between.</td></tr> 
</table> 
<br /> 


<table border="0"> 
<tr><td><input type="hidden" name="question-16-order" value="0" /><input type="radio" name="question-16-answer" value="1" /></td><td>I value realism and common sense.</td></tr> 
<tr><td><input type="radio" name="question-16-answer" value="2" /></td><td>I value imagination and innovation.</td></tr> 
<tr><td><input type="radio" name="question-16-answer" value="3" /></td><td>I'm really in between.</td></tr> 
</table> 
<br /> 
</table> 



<p><input type="submit" name="Submit" value="Send via Email" /></p> 
</form> 

Please help, so to store the results of this form?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:04:26+00:00Added an answer on May 15, 2026 at 11:04 pm

    You have to keep track of the actual answer somewhere. For example, an array like so:

    $options = array('question-11' => array(
         1=> 'I am a mixer and mingler at parties',
         2=> 'I prefer one-on-one conversations',
         3=> 'I\'m really in between'));
    

    So if you want to find out what the “1” means for question-11, you do something like:

    $selected = $_POST['question-11-answer']; // or whatever
    $choice = $options['question-11'][$selected];
    

    (This is very crude, but I wanted to make it easy to understand.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple html form with select element. To define which option is
I have the following simple form from which a user can select a state
I have a simple HTML form which starts with a select menu where the
I have a simple html login form which is validated with javascript before its
I have a simple MVC form with the following elements: <%= Html.TextBox(FechaInicio) %> Which
I have a simple html form. This form has a specific width and margin
I have a simple HTML Form with one column having a select menu with
I have a simple HTML form which needs to post to external email: vynora2011@hotmail.com
I have a simple HTML form that posts to a PHP page, which will
I have a simple HTML Form that allows the user to enter some text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.