I am having a problem with some code…
Here is the code:
<?php
if (isset($myVar)) {
echo '<input type="checkbox" name="ck1" id="ck1" checked />Checked/Not checked';
}
?>
I’ve tried checked, checked=”checked” checked=”true” …but for some reason the checkbox doesn’t come out checked.
it should workd…
try the following to debug
as for the checkbox….