Hi, I have an html form included in a php file. when it submits it uses post to change a variable from 0 to 1, so that if any errors occur it will display relevant error messages. To briefly explain, when its set to 0, only the form is shown and no error checks are made, but when they click submit it changes it to 1 and allows the php to make error checks. (Sorry if this is badly explained - im new to php) however, on clicking refresh, i would like the variable to be reset to 0 so that no error checks are made, but i cant change the $_POST value back to 0. Heres the beginning to the code, which hopefully will clarify where ive made a complete idiot of myself with my bad coding... :| [code] <? /* Load html backplate */ include ("../html/head.html"); include 'db.php'; /* Check that the user has submitted their details */ $submitcheck = 0; $submitcheck = $_POST['submitcheck']; if ($submitcheck == 0) { /* load form */ include ("../html/regfrm.html"); } else { $_POST['submitcheck'] = 0; // Define post fields into simple variables $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $email_address = $_POST['email_address']; $username = $_POST['username']; $website = $_POST['website']; $info = $_POST['info']; [/code] Please, if anyone can help, it would be amazing. Just ask if i need to explain myself better, etc. Thank you Michael