title: how to echo print array in mysql php
body: <p>in mysql query results on  mysql command</p>
  
  <pre><code>language id   language name 
  1               English
  2               Hindi
  3               Russian
  
  
  $language_name =$conn-&gt;prepare("SELECT language_id, language_name FROM language_master");
                  $language_name-&gt;setFetchMode(PDO::FETCH_BOTH);
                  $language_name-&gt;execute();
                  $language_name = $language_name-&gt;fetch();
  </code></pre>
  
  <p>How can i print /echo all languages and ids in php? like in a table. </p>
  
  <p>Thanks for the help.</p>