标签: mysql codeigniter mysql-error-1064 codeigniter-3 php-mysqlidb
toDP.data("DateTimePicker").date(newDate).maxDate(newDate);
答案 0 :(得分:0)
似乎你有一个错字
AND Str_to_date(date, '%Y-%m-%d') = 2016 - 05 - 11
应该是
AND Str_to_date(date, '%Y-%m-%d') = '2016-05-11'