you can do that
here is the example,
<input name='fieldName' type ='checkbox' <?php if(condition=condition){ echo
'checked="checked"';} ?> >-- Regards, Saeed Ahmed Rajshahi, Bangladesh Blog: http://saeed05.wordpress.com -- Follow Me Linkedin <http://www.linkedin.com/in/sas05>Twitter<http://twitter.com/saeed05>

