Jump to content

Update Radio Button


yash87

Recommended Posts

Good Day,

 

I juz like to know if there any other alternative way for the code below, coz i can't update my form when i use this method for radio the button. It's not passing the value.

 


Edit.php

  <tr>
            <td height="36" align="center" valign="middle" bgcolor="#990000"><div align="left" class="style4">Destroy :</div></td>
            <td align="center" valign="middle" bgcolor="#990000"><div align="left">
              <label>
              <input type=radio name=destroyR value="Yes" <?php echo ($rows['destroy']=='Yes') ?'checked="checked"':''; ?> />Yes</label>
              
              <label>
              <input type=radio name=destroyR value="No" <?php echo ($rows['destroy']=='No') ?'checked="checked"':''; ?> />No</span></label>
             </div></td>
          </tr>

Link to comment
https://forums.phpfreaks.com/topic/216446-update-radio-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.