<?php 

$name = $_GET['name'];
$beds = $_GET['beds'];
$baths = $_GET['baths'];
$phone = $_GET['phone'];
$email = $_GET['email'];
$address = $_GET['address'];
$city = $_GET['city'];
$state = $_GET['state'];
$zip = $_GET['zip'];
$price = $_GET['price'];

$msg = "Name: ".$name."\nPhone: ".$phone."\nEmail: ".$email."\nAddress: ".$address.", ".$city.", ".$state." ".$zip."\nBeds: ".$beds."\nBaths: ".$baths."\nPrice: ".$price;

mail("youremail@gmail.com", "Website Property Lead", $msg, "From: ".$email, "");

?>