title: how to create and concatenate dynamic variables in PHP?
body: <p>In this php code, during a <code>while</code> loop, I was hoping to use later 3 variables called <code>$menu_1</code>, <code>$menu_2</code>, and <code>$menu_3</code>. Is this possible in PHP?</p>
  
  <pre><code>while($parent_row = mysql_fetch_array($parent_result)){
      $menu_ = "";
      $menu_ . $i = "\n\t$('#menu_" . $i . "').hover(function () {";
  }
  echo $menu_1;
  echo $menu_2;
  echo $menu_3;
  </code></pre>