title: how to convert multidimensional associative array into single dimensional array in php?
body: <p>i have a quick query about <strong>how to convert the multidimensional array to single dimensional array</strong></p>
  
  <pre><code>$teachers=array(array('post_id' =&gt; "John Doe",'video_id' =&gt; array('Government','English')), array('post_id' =&gt; "Steven Lee",'video_id' =&gt; array("Math","Science", "PE")),array('post_id' =&gt; "Jean Perot", 'video_id' =&gt; array("French", "Literature")));
  </code></pre>