title: Mysql : how to use variable in Mysql query column name
body: <p>I have an sql query :</p>
  
  <pre><code>$variable_tablename;
  $componentkhy1 = $Ns_Azuredb-&gt;get_results("SELECT * FROM tabkh WHERE TabkhSystem = '".$varInput_CalcSystemKh."';");
  
  foreach ($componentkhy1 as $rs_componentkhy1)
  {
      $khsysy1 = $rs_componentkhy1-&gt;table_name;
  }
  </code></pre>
  
  <p>instead of the <code>table_name</code>, i would like to use the variable <code>$variable_tablename</code> is it possible to do so?</p>
  
  <p>Thanks guys</p>