Home >Backend Development >PHP Tutorial > 怎么读出这种数据的内容 谢谢!

怎么读出这种数据的内容 谢谢!

WBOY
WBOYOriginal
2016-06-13 12:59:44862browse

如何读出这种数据的内容 多谢!!!!!
请问 这种数据是什么格式的呢 怎么才能像数组那样读出具体的内容呢

a:9:{s:2:"id";s:1:"4";s:4:"user";s:5:"75000";s:9:"user_name";s:12:"若水";s:11:"user_avatar";s:68:"/data/001/41/13/40.jpg";s:15:"comment_content";s:39:"绿、橙、蓝啊!";s:13:"comment_grade";s:1:"1";s:13:"average";s:3:"5.0";s:6:"up_num";s:1:"0";s:13:"reply";s:0:"";}

------解决方案--------------------

unserialize<br />

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn