title: Cannot Insert into MySQL DB Value of Radio Button as String
body: <p>Language: OO PHP 5+
  DB: MySQL</p>
  
  <p>I am trying to insert data from a form using radio buttons by getting their value and then inserting into a MySQL database. I can insert anything on the form that uses a textfield to collect data, but when I try to insert the value of a radio button the insert just leaves the corresponding db field blank. I am using this for as a parameter in my Insert statement (these fields are assigned at the top of the class): </p>
  
  <pre><code>$this -&gt; myTextfield // this works
   $this -&gt; myRadioButtonValue // this doesn't seem to grab the value as it inserts a blank entry. 
  </code></pre>
  
  <p>An help much appreciated.</p>
  
  <p>GF</p>