title: Saving value as a variable name in database
body: <p>Database Table <strong>company_info</strong></p>
  
  <pre><code>-----------------------------
  | companyname | companytype |
  -----------------------------
  | Company One | Blah        |
  -----------------------------
  | Company Two | Blah2       |
  -----------------------------
  </code></pre>
  
  <p>Database Table <strong>invoice_template</strong></p>
  
  <pre><code>-----------------------------
  | Header      | bgcolor     |
  -----------------------------
  | $company    | Red         |
  -----------------------------
  | $company    | Biege       |
  -----------------------------
  </code></pre>
  
  <p>PHP file <strong>common_include.php</strong></p>
  
  <pre><code>$company = ... //FROM db table company_info field companyname
  </code></pre>
  
  <p>PHP file <strong>invoice.php</strong></p>
  
  <pre><code>include('common_include.php');
  $header = ... //FROM db table invoice_template field header
  echo "Header is ". $header;
  echo "&lt;br/&gt;Company is ". $company; //$company is defined in common_include.php
  </code></pre>
  
  <p><strong>OUTPUT of invoice.php</strong> when company logged in is for eg.Company One</p>
  
  <pre><code>Header is $company
  Company is Company One
  </code></pre>
  
  <p>Question: How do I get the $company in the output to be shown as Company one? i.e How do I get the output from MySQL DB to be treated as a variable?</p>