<?
if($_POST['name']=="" or $_POST['lastname']=="" or $_POST['mphone']=="" or $_POST['title']=="" or $_POST['email']=="" or $_POST['zipcod']=="")
{
echo "<script>alert(\"* Please fill out all required fields \");history.go(-1)</script>";
exit;
}
else
{
$konu="Plan Your Budget";
$kimden='From:'.$_POST['lastname'];
$gidecek_mesaj.="Ty pe of domicile :".$_POST['type']."\ r \ n";
$gidecek_mesaj.="Project Description :".$_POST['Description']."\ r \ n";
$gidecek_mesaj.="What is your intended budget ?:".$_POST['fiyat']."\ r \ n";
$gidecek_mesaj.="Title:".$_POST['title']."\ r \ n";
$gidecek_mesaj.="Last Name:".$_POST['lastname']."\ r \ n";
$gidecek_mesaj.="Name:".$_POST['name']."\ r \ n";
$gidecek_mesaj.="E mail:".$_POST['email']."\ r \ n";
$gidecek_mesaj.="Main Telephone::".$_POST['mphone']."\ r \ n";
$gidecek_mesaj.="Mobile Telephone:".$_POST['mophone']."\ r \ n";
$gidecek_mesaj.="Location Zip Code:".$_POST['zipcod']."\ r \ n";
mail('mail@mail.com',$konu,$gidecek_mesaj,$kimden) ;
}
?>
<p align="center">
<font color="#0000FF" style="font-size: 15pt">Thank you for your inquiry,* one of our associates will contact you shortly.
</font>
</p></br>
<div align="center">
</td>
</tr>
</table>
</div>
<meta http-equiv='refresh' content='2;URL=index.php'>
bu şekilde bu değişkenleri Asp ile göndermem lazım acil olarak yardımlarınızı bekliyorum.