title: Php - testing if a radio button is selected and get the value
body: <p>I'm using php. I'd like to know how can I test if a radio button is selected and get the value? i can test if the radio button is selected but i cannot get the value. 
  I created a button to test this in my form. First I select a radio button, then i click on the button and it must display a message that says which value i selected and put this value into a variable. In order to test if a radio button is selected i did like this:</p>
  
  <pre><code>$selected_radio=$_POST['SINGLE_' . $question-&gt;id . $multi_name_adjust . ''];
  if ($selected_radio = 'checked'){}
  </code></pre>
  
  <p>Thanks</p>