Menu
Hi!
I try to control the checkbox so it’s checked or unchecked when the form start, but I get an error al the time.
Couldn’t $checkboxStatus be ‘checked’ or ” ?
$form = <<< EOD
<form id=’hangman’ action=’hangman.php’ method=’get’>
Debug on/off <input type=’checkbox’ name=’debugControl’ value='{$debugControl}’ {$checkboxStatus} />
<button type=’submit’>Gissa</button>
</form>
EOD;
Preciate some help!