& Quot; {& quot; module_list & quot;: [{& quot; content & quot;: {& quot; module-type & quot;: & quot; list-1 & quot;, & quot; module & quot;: & quot; list & quot;, & quot; type & quot;: & quot; 1 & quot ;, & quot; name & quot;: & quot; job list & quot;, & quot; logo1 & quot;: & quot; imgurl1 & quot; traverse phpjson
{"Module_list": [{"content": {"module-type": "list-1", "module": "list", "type": "1 ", "name": "Job list", "logo1": "imgurl1", "title1": "baidu1", "desc1": "hahahha1", "url1": "www. baidu. com1 "," logo2 ":" imgurl2 "," title2 ":" baidu2 "," desc2 ":" hahahha2 "," url2 ":" www. baidu. com2 "," logo3 ":" imgurl3 "," title3 ":" baidu3 "," desc3 ":" hahahha3 "," url3 ":" www. baidu. com3 "," logo4 ":" "," title4 ":" "," desc4 ":" "," url4 ":" "," jobs ": [{"name": "product manager", "salary": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou ", "mark": "group: 1" },{ "name": "product manager", "salary": "10 k-15 k", "url ": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 2" },{ "name": "product manager", "salary ": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 3" },{ "name ": "Product Manager", "salary": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 4 "},{" name ":" product manager "," salary ":" 10 k-15 k "," url ":" www.baidu.com "," desc ": "Guangzhou", "mark": "group: 1" },{ "name": "product manager", "salary": "10 k-15 k ", "url": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 1" },{ "name": "product manager ", "salary": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 4 "}, {"name": "product manager", "salary": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou ", "mark": "group: 4" },{ "name": "product manager", "salary": "10 k-15 k", "url ": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 3" },{ "name": "product manager", "salary ": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 2" },{ "name ": "Product Manager", "salary": "10 k-15 k", "url": "www.baidu.com", "desc": "Guangzhou", "mark": "group: 2 "}]},}]}
public static function buildList($module){ $jobList2 = ""; if($module['jobs']){ foreach($module['jobs'] as $job){ $jobList2 .= << {$job['name']} {$job['salary']} html; } } return<<
Yes. I concatenate pages using php statements, but when I obtain data from json, all the data is written as above, however, I want to display some specific data according to the mark value output, for example, only splicing group: 1 data. I am still not quite clear about the specific operations.