radio buttons and php
<p>and thanks in advance for offering your time for reading this.
I am newbie with PHP and i am doing a project for the university. 
Until now for adding boolean values i have used checkboxes. For example in my db i have a boolean record called DB_FOR_SALE that i am updating using this piece of code...</p>

<p>HTML part
     <code>&lt;input type="checkbox" name="DB_FOR_SALE" value="1"&lt;#DB_FOR_SALE#&gt;&gt;For</code>>For Sale</p>

<p>PHP part</p>

<pre><code>    /* Update of a Record  */
    if($_REQUEST['DB_ID'] != '')
    {
    $objectid = $_REQUEST['DB_ID'];
    $upd = "update " . G_DB_PREFIX . "OBJECTS set DB_FOR_SALE='" . $_REQUEST['DB_FOR_SALE'] . "' where DB_ID='" . $_REQUEST['DB_ID'] . "'";
    $gupd = $conn-&gt;update($upd, G_NORMDB);
</code></pre>

<p>In the same way i can enter the value if the object is inserted for the first time.</p>

<p>How can i use that in the radio buttons case, since they have the same name.</p>

<p>Thanx for reading this!!</p>
