$start = date(‘Y-m-d’, mktime(0,0,0,date(“m”), date(“d”)-2, date(“Y”)));
I have this line in my code and get an error ‘Parse error: syntax error, unexpected ‘Y’ (T_STRING), expecting ‘)’ in C:\xxxx\xxx\xxxx.php on line 14
This line is valid in php but not in JS?????????????
I am trying to use the sample code off your web site to use the carts with Mysql
it has a line that says
header(‘Content-Type: application/json);
if I commit out this line I do not get the error.
Something in the above line is causing the error
any ideas