我有以下 JSON:
"list": {
"list_id": "2kA",
"title": "Social Media",
"description": "Trending",
"image": [
"http://cdn.socialmediaexaminer.com/wp-content/uploads/2012/11/br-campaign-report.png?9d7bd4",
"http://cdn.socialmediaexaminer.com/wp-content/uploads/2012/11/br-campaign-report.png?9d7bd"
],
"views": 65
}
如何在数据库中存储图像数组的序列化版本?执行以下任何操作都会返回错误:
$images = $item->list->image;
$images = $item->list->image->[0];
$images = $item->list->['image'];
多谢你们!