json的时候 如果有换行 就会在客户端的解析错误 解决方法是 在入库前 将换行去掉
$order = array("\r\n", "\n", "\r");
$description = str_replace($order,"",$description);
json的时候 如果有换行 就会在客户端的解析错误 解决方法是 在入库前 将换行去掉
$order = array("\r\n", "\n", "\r");
$description = str_replace($order,"",$description);