Trying to learn PHP and started with an email function.
I keep getting the error**- Parse error**: syntax error, unexpected ‘}’ in /home6/hostink0/public_html/highsidedesigns/mailer.php on line **20
Could someone please help? I am sure it is simple. Thanks so much.
$to = "[email protected]"; $subject = "HighSide Designs Email"; $name_field = $_POST['name']; $company_field = $_POST['company']; $email_field = $_POST['email']; $subject_field = $_Post['subject'] $message = $_POST['message']; $body = "From: $name_field
echo "Data has been submitted to $to!"; mail($to, $subject, $body);
echo “Error: Your Data Was Not Sent! Please Try Again Or Call 435-757-6215”;