Originally posted by swallace
<INPUT TYPE="checkbox" NAME="epic" <?php if ($myrow[epic] == "1") echo CHECKED ?> >
A little correction :
<INPUT TYPE="checkbox" NAME="epic"<?php if ($myrow["epic"] == "1") echo " CHECKED" ?>>
Always put quotes with an array key (maybe you don't see errors because you set error_display to off), and I don't think CHECKED is a defined constant, so use quotes to print it. Also, if $myrow["epic"] !=1, you would get something like :
<INPUT TYPE="checkbox" NAME="epic" >
There is a space at the end... not very nice ! That's why there is a space in the echo statement, but no more space between NAME="epic" and <?php.