I have a database on one shared hosting plan and a form on the other.. that form was originally set to just email the details when filled out.. and worked perfectly until yesterday.. when I added some script at the top.. the script at the top was to connect to our database and then also automatically import some of the fields from the form.
Now that that part is working the form has two lines showing "syntax error" They look right to me and I think I just need a set of eyes other than mine on these two lines to figure it out..
Here is a group of the code.. The two lines in BOLD are the ones with syntax errors per dream weaver.. HELP PLEASE!!
.
//now send email to apps@aandstransportation.com
$to = 'applications@aandstransportation.com';
$from = '$_POST['ApplicantName'];
// $status = $_POST['Project_status'];
/* subject */
$subject = "Application For Employment Web Submission";
/* message */
$message = '<html>
<head>
<title>Application For Employment Web Submission</title>
</head>
<body>
<p>Dear '.$to.',</p>
<table>
<tr>
<td colspan="2">"'Employment Application Details:"</td>
</tr><tr>
<td>Applicant Name: </td><td>'.$_POST['ApplicantName'].'</td>
</tr> <tr>
<td>Date of Application: </td><td>'.$_POST['DateofApplication'].'</td>
</tr><tr>