String breakdown {status: 1, info: OK, data: {html: & lt; li & gt; qweriqw & nbsp; eppa & lt; div & nbsp; & gt; ntt & lt; div & nbsp; & gt; & lt; div & gt; ntt & lt string decomposition
{"Status": 1, "info": "OK", "data": {"html ":"
Qweriqw eppa\ N \ t
<\/P> \ n \ t <\/p>
Qweriqw eppa\ N \ t
<\/P> \ n \ t <\/p>
Qweriqw eppa\ N \ t
<\/P> \ n \ t <\/p>
Qweriqw eppa\ N \ t
<\/P> \ n \ t <\/p>
........
How to read each li content is probably the style in li. I need to break down each li and analyze it. How to write... Code is required .. Thank you.
------ Solution --------------------
$ Contents = ""; // the code on the graph.
Preg_match_all ("
------ Solution --------------------
.*?
------ Solution --------------------
Is ", $ contents, $ match );
Print_r ($ match); // display the $ match array, that is, the matched data.
Follow this change