title: Echo var from PHP into textarea control
body: <p>Desired outcome: define string var in PHP and echo it into textarea control as contents.</p>
  
  <p>Problem: Textarea only contains:</p>
  
  <pre><code>    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>INDEX.PHP:</p>
  
  <pre><code>&lt;?php
      $y = "Bonkers";
  ?&gt;
  &lt;html&gt;
  &lt;body&gt;
  
      Here is a textarea control:&lt;br /&gt;
      &lt;textarea id='myText'  rows="30" cols="120" value='&lt;?php echo $y; ?&gt;' /&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>