I want to be able to display a check box checked (if the value is checked of course) off the folowing code:
<p>Terms:</td><td><input type="checkbox" name="terms" value="<?php echo 'terms'; ?>" >
The variable is passed like so:
if (isset($_POST['terms']) == "on") $terms = "true"; $terms = "null";
What would I need to use? I am running an update users details form.