Jump to content

[SOLVED] checkbox


jkkenzie

Recommended Posts

<input type="checkbox" name="Receipt_Issued" value="1" <?php if ($issued) { echo 'checked="checked"'; } ?>/>

 

Something like this.

 

I've tried the above but it didnt work for me so if you find it doesn't work also try

<input type="checkbox" name="Receipt_Issued" <?php if ($issued=='1') { echo
"checked"; }?>  /> 

 

Link to comment
https://forums.phpfreaks.com/topic/128330-solved-checkbox/#findComment-664885
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.