Forum Moderators: coopster
$enquiry = str_replace("\n", " ", $enquiry);
Now the form works (the mail gets sent) but the email is cutting off any text after the first line (although the db is capturing it), and the mail subject has mysteriously disappeared. Does anyone have any idea why this might be happening?
H (stressed out!)
BTW, in Windows it's \r\n not \n\r. Carriage return is first then linefeed. The VB constant is vbCrLf. Sorry, just me being pedantic. I'll get back to ergo now ;-)