Jump to content

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in date stamp


studentofstone

Recommended Posts

I am getting syntax error, unexpected T_CONSTANT_ENCAPSED_STRING

on the date stamp line below but I can't see what is causing the problem.

when I comment it out the problem goes away so I know I it is there.

please help.

 
$email_message = "Form details below.\n\n";
$email_message = date("m/d/Y")"\n";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.