First issue:
I am having two issues trying to set up form processing with phpmailer. The same worked with php's mail function.
The separate html document included the styles in the header like this
(the "." is actually on line 12).
the included styles do not cause a problem using php's mail function.
Question: Is it necessary to separate css when using php mailer?
(I will include the html form and the first part of the script below, but I'd rather not impose the errors of the rest before I can try to find and fix them myself)
Second issue:
Having removed the css and placed it in an attached sheet I continue to get the error. Assuming it was a cache error I closed out and reopened in a different browser with the same result. I cannot reboot the server. Suggestions?
-----------------------------------
html form:
PHP form handler in following comment
I am having two issues trying to set up form processing with phpmailer. The same worked with php's mail function.
The separate html document included the styles in the header like this
creating the error<style>
.style1 {
font-family: "Trebuchet MS";
font-size: large;
font-weight: bold;
}
</style>
Parse error: syntax error, unexpected '.' in /home/jll/public_html/phpmailerform.php on line 13
(the "." is actually on line 12).
the included styles do not cause a problem using php's mail function.
Question: Is it necessary to separate css when using php mailer?
(I will include the html form and the first part of the script below, but I'd rather not impose the errors of the rest before I can try to find and fix them myself)
Second issue:
Having removed the css and placed it in an attached sheet I continue to get the error. Assuming it was a cache error I closed out and reopened in a different browser with the same result. I cannot reboot the server. Suggestions?
-----------------------------------
html form:
---------<DOCTYPE HTML PUBLIC
"-//W3C//DDT HTML 4.01 Transitional//EN"
"
<html>
<head>
<meta http-equiv="Content-Language" content="en-us" >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>resume submission form</title>
//captcha theme here.
<style type="text/css">
.style1 {
font-family: "Trebuchet MS";
font-size: large;
font-weight: bold;
}
.style2 {
font-family: "Trebuchet MS";
font-size: large;
font-weight: bold;
text-align: right;
}
[snip - more of same]
}
</style>
</head>
<body>
<div class="style7"><h3><p>To register please fill out the following fields and upload a resume.</P>
<p>The files marked with * are required. The rest will make it easier for us to pick your resume. To be placed on our newsletter and job alert list, click the button at the end</p></h3></div>
<form action="phpmailerform.php" method="POST">
<table style="width: 792px; height: 553px" cellspacing="5" class="style4">
<tr>
<td style="width: 1085px" class="style2" valign="top">Last Name</td>
<td style="width: 1184px">
<input name="last" type="text" size="50" ></td>
</tr>
<tr>
<td style="width: 1085px" class="style2" valign="top">First Name</td>
<td style="width: 1184px">
<input first="first" type="text" size="50" ></td>
</tr>
<tr>
[snip - more of same]
<p><input type="submit" value="send" /p></p>
//captcha here
?>
</form>
</body>
</html>
PHP form handler in following comment