Sorry, how do you mean? A checkbox is a boolean value, how is it stored in your database?
If you want to regenerate the page with the checkbox ticked:
<input type="checkbox" name="inputname"<?php print ($MySQLResultsArray['inputname']) ? ' checked="checked"' : '' ?> />