title: Give a variable as ID to a div - Correct Syntax
body: <p>I have some problems assigning a php variable as an ID to a div.
  My code is currently like this </p>
  
  <pre><code>echo "&lt;div&gt;";
  echo "&lt;h3&gt;$title&lt;/h3&gt;";
  echo "$content"; 
  echo "&lt;/div&gt;";
  </code></pre>
  
  <p>If i wanted to assign a variable, say $hello as id to this div, how should i do? Obviously, the html result should be <code>&lt;div id="hellovariablecontent"&gt;</code>, but i can't come up with a valid solution even after looking several times at the php special character syntax. Any help would be super-appreciated!</p>