title: How to use multiple arrays in " single " foreach() loop
body: <p>I'm trying to echo out all variables of two arrays with a single foreach loop making a url. Some coding examples will be honored.</p>
  
  <p>I have this so far :</p>
  
  <pre><code>&lt;?php
  foreach($menu_names as $menu_name){
  echo "&lt;li&gt;&lt;a href='?subj= " .urlencode($subjects["id"]). " '&gt;".$menu_name."&lt;/a&gt;&lt;/li&gt;";
  }
  ?&gt;
  </code></pre>
  
  <p>I want to add one more array within this loop</p>