1 2 3 4 5 6 7 8
<?php $LIVE='1'; echo '<input type="checkbox" '.(($LIVE=='1') ? ' checked ' : '').'/>'; $LIVE='0'; echo '<input type="checkbox" '.(($LIVE=='1') ? ' checked ' : '').'/>'; ?>
1
<input type="checkbox" checked /><input type="checkbox" />