Editing Checkbox
Posted: Fri Jun 09, 2006 4:28 am
Hi All !
Im editing a php page and i have to retrive the value of a checkbox and im not sure how to get that
The part of the code is below. Kindly tell me how to get back the value of check box and display it on the page, this code displays the checkbox as checked always irrespective of whether it was selected or not.
Im editing a php page and i have to retrive the value of a checkbox and im not sure how to get that
The part of the code is below. Kindly tell me how to get back the value of check box and display it on the page, this code displays the checkbox as checked always irrespective of whether it was selected or not.
Code: Select all
tr><td>
<input type="checkbox" name="dis6" value="1"<?php if(isset($row['dis6'])) echo 'checked';?>>
<font face="Arial" size="3">Integration & Customization </td></tr>