You must be logged in to post your query.
Home › Forums › Chart Support › Error with date
Tagged: use Charts
$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
if I commit out this line I do not get the error.
Something in the above line is causing the error
Is there any support personal on this from I guess this is a good reason not to purchase this software for my project
Can you kindly create a sample project reproducing the issue and share it over Google-Drive or Onedrive along with sample data so that we can look into the code, run it locally to understand the scenario better and help you resolve?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
You must be logged in to reply to this topic. Login/Register