1 person found this helpful
Switch your last line:
basically remove the quotes and it should work.
Thank you Jeremy,
I removed the quotes - didn't work...
Thank you so much for trying to help me.
I'm at my wits end.
Don't know what else to try.
Remove the quotes from the variable names in the line above as well. The way you have it you are concatenating the strings $CNAME... (the literal) and not the value of the string.
Dan, I use Formmailer on my site and my email comes to me like this
The following message was sent from Alt-Web Site:
Comments: testing email
The PHP script tells which fields and in which order they should appear in the email. NOTE: don't use spaces or special characters in scripts or form field names.
$mail_intro="The following message was sent from Alt-Web Site:"; $mail_fields="First_Name,Last_Name,E_Mail,Phone,Budget,URL,State_Prov,Country,Services,Comments";
Hope this helps,
I heard from Dan B (DBmasters-FormMailer).
How's this (in the form)?
if firstName !=""
and lastName !=""
Then in the body;
(hidden input field)
<INPUT name="cName"... etc.>
Does this make sense?