"; $Notes_strip = stripslashes($Notes); $Notes = htmlentities(stripslashes($Notes), ENT_QUOTES); echo "$Notes"; ?> "; } else { $sql_query = "UPDATE tbl_contacts SET LastName = '$LastName', FirstName = '$FirstName', Address1 = '$Address1', Address2 = '$Address2', City = '$City', State = '$State', Zip = '$Zip', Email = '$Email', Notes = '$Notes' WHERE LastName = '$LastName'"; echo "Your entry was updated succesfully.
"; } $query_result = mssql_query($sql_query); mssql_close($connection); ?> \n"; $headers .= "X-Sender: \n"; $headers .= "X-Mailer: PHP\n"; // mailer $headers .= "X-Priority: 3\n"; // 3 means normal priority. $headers .= "Return-Path: \n"; // Return path for errors /* If you want to send html mail, uncomment the following line */ // $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type /* and now mail it */ /* mail($recipient, $subject, $message, $headers); */ ?>