title: i have an multidimensional array given below
body: <p>i have an array like this</p>
  
  <pre><code>$x = array("1" =&gt;array("PHP","code"), "foo" =&gt;array("bar", 5 ,11));
  
  for($i=1;$i&lt;count($x);$i++)
  {
      foreach($x[$i] as $key=&gt;$value){
          echo $key.$value;
      }
  echo "&lt;br&gt;";
  }
  </code></pre>
  
  <p>and i want output like this:
  <code>
  1.php
  1.code
  foo.bar
  foo.5
  foo.11</code></p>
  
  <p>how could i get this out put.</p>