Ok, so I don't need to have those session variables within the form. I noticed earlier when I was displaying the form they were showing up in the input fields. I knew something was wrong; I'll get those out of there. So your saying, the variables are created before we fill out the form and once the form is submitted the variables are filled in with their respective values? Where as, what I was attempting to do was create the variables after the form was already displayed and filled out. Do I have that right? Your saying, the successful statements are those when the if statements are true and the form wasn't filled out properly in those fields. The successful or true statment will give the error messages and send the user back to fill out the form once again or repopulate it.

So this is where I would display the message and send user back to fill out requred fields?


PHP Code:
<?PHP 
    
   
echo $['message']; 
   $[
'message'] = ""
    
   
?> 
   <a href=\"form.php\">Back</a> 

<?PHP

endif; 

}

?>