title: Making HTML table from MYSQL database columns
body: <p>I am learning something new in MySQL. I would like to import some data from outer database into my local HTML table. But the database I want to use for import it is such a mess. I have to really select what I want to import.</p>
  
  <p>db > database1</p>
  
  <p>1st table with data > "trr_post" 
  2nd table with data > "trr_metapost"</p>
  
  <p>1st table column with data > "post_title"
  2nd table column with data > "post_value"</p>
  
  <p>I would like to make an HTML table where data will set in a row. For example in a first row first column will contain data from "post_title", but not all data (I would like to select them by ID). Same row, but second column will contain data from "post_value" table (selected by ID) and so on ...</p>
  
  <p>In a short way, I would like to choose which data from database will be shown in my HTML table. And I know I can't use simple :</p>
  
  <pre><code>SELECT post_value
  FROM trr_metapost
  WHERE column_id = "20"
  </code></pre>