4
我有一个快速查询有关如何将多维数组转换成一维数组如何在PHP中将多维关联数组转换为单维数组?
$teachers=array(array('post_id' => "John Doe",'video_id' => array('Government','English')), array('post_id' => "Steven Lee",'video_id' => array("Math","Science", "PE")),array('post_id' => "Jean Perot", 'video_id' => array("French", "Literature")));
http://stackoverflow.com/questions/8611313/turning-multidimensional -array-into-one-dimensional-array – Wyck 2013-03-16 06:10:15