Jump to content

Updating Checkboxes - How?


jool

Recommended Posts

Hi there,

 

I am using Dreamweaver to try to update a user profile. I am able to update all the text fields with the update page, but the checkboxes don't update. Whenever I click the update page the checkboxes just don't update.

 

The code I am using for each check box is:

    <input <?php if (!(strcmp($row_rsupdate['mm'],"Y"))) {echo "checked=\"checked\"";} ?> <?php if ( isset($row_rsupdate['mm']) ) {echo "checked=\"checked\"";} ?> name="mm" type="checkbox" id="mm" value="Y">

 

Any help would be really appreciated. Thanks

 

Jool

 

Link to comment
https://forums.phpfreaks.com/topic/116702-updating-checkboxes-how/
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.