我正在使用
将对象转换为数组"CREATE TABLE table (your columns here...(UNIQUE unique colums here...) ON CONFLICT REPLACE);"
我得到的是
$data['payment_cheque'] = (array)$data['payment_cheque'];
我想要的是
"\u0000*\u0000items": ["2017-04-18","2017-06-28","2017-07-05"]
答案 0 :(得分:2)
试试这个
$data['payment_cheque'] =json_decode(json_encode($data['payment_cheque'] ,true),true);