前端提交過來的引數轉碼

chaofu發表於2019-07-24
$a  = "{"1":"2","2":"4"}"
$params = $this->request->post();\
$a ='{"1":"2","2":"4"}';\
dump(json_decode(htmlspecialchars_decode($params['row']['comment']),true));

相關文章