I'm new at PHP so probably missing something simple.
I have successfully created a script that gathers info from fields on a web page, puts them in an e-mail, and sends it to a specified address. However, I have tried to format the message with newlines to make it more readable and it always come back as one long line. I've tried \r\n and \n but to no avail. Is there something else I should be using or is there some setting that makes this work?
Here is the code that builds the message:
$message = "Info\r\n";
foreach($PARAMS as $key=>$value)
if (substr($key,0,7) != "mailer_")
$message .= strtoupper($key).": ".$value."\r\n";
Thanks for the help.