if(isset($_POST['Submit'])) { $error=0; if( (strlen(trim($_POST['name']))<1) && ($error==0) ) {?> $error=1;} if( (strlen(trim($_POST['phone']))<1) && ($error==0) ) {?> $error=1;} if( (strlen(trim($_POST['email']))<1) && ($error==0) ) {?> $error=1;} if($error==0) { #Send email. $message = "
|
||
Cornerstone Custom Construction Contact |
||
Name: |
".$_POST['name']." | |
Company: |
".$_POST['company']." | |
Address: |
".$_POST['address']." | |
City: |
".$_POST['city']." | |
State: |
".$_POST['state']." | |
Zip: |
".$_POST['zip']." | |
Phone: |
".$_POST['phone']." | |
Email: |
".$_POST['email']." | |
Web Address: |
".$_POST['web']." | |
Area of Interest: |
";
for($x=0; $x | |
Comments: |
".$_POST['comments']." | |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||