我得到的数组如下
$teachers=array(array('post_id' => "81",'video_id' => array("81","73")), array('post_id' => "81",'video_id' => array("81","73")));
如果所有键值都相同,我只想显示一个键值(如上例),如下所示:
我想展示
{ post_id -> array([0]-> 81 [1]-> 73) }
如果它与下面的示例不同,它应该显示两个数组..
{ $teachers=array(array('post_id' => "81",'video_id' => array("81","73")),
array('post_id' => "81",'video_id' => array("81", "59")));}
我想展示
{post_id -> array([0]-> 81 [1]-> 73 [2] -> 59) }