using this code to validate form but i got error message when execute what mistake am i making
Use $_POST variables instead.