if(isset($_GET['submitted'])) {
?>
Thankyou for you enquiry!
We will get back to you real soon.
} ?>
if(isset($_GET['data'])) {
?>
if($_GET['data']==1) {
?>
Please enter your name!
}
elseif($_GET['data']==2) {
?>
Please enter your email address!
}
else { ?>
Your email address is invalid!
} ?>
} ?>