Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I am trying to format the body of a plain text email I want my script to send. I might be doing this completely wrong. I get this error when I try and run the script:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING
Here is the code:Code: Select all
$body = 'Peel, Inc.' "\n"
'Weekly ShopDani Inventory Updates' "\n"
date('jS F Y') "\n"
"\t" .$jewelryName. "\t" .$oldAmt. "\t" .$newAmt. "\n";Pimptastic | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]