title: SQL query result in a textbox
body: <p>I am doing up a PHP page and I want to have SQL query result shown in a <code>textbox</code>. I tried searching for answers but I don't really understand any of it.</p>
  
  <p>Here is my query:</p>
  
  <pre><code>SELECT MARK_TAB from disabled_tab where SCHOOL_CODE = 9999;
  </code></pre>
  
  <p>And I want the query to be shown here:</p>
  
  <pre><code>Mark &lt;input type="text" style="width: 30px;" id="marktab" /&gt;
  </code></pre>
  
  <p>How do I do it? Appreciate it :)</p>