title: How do I use single quotes inside single quotes?
body: <p>Can anyone explain how to make this code work?  </p>
  
  <pre><code>echo '&lt;div id="panel1-under"&gt;Welcome &lt;?php echo "$_SESSION['username']"; ?&gt;&lt;/div&gt;';
  </code></pre>
  
  <p>I've tried removing the single quotes (<code>echo '&lt;div id="panel1-under"&gt;Welcome &lt;?php echo "$_SESSION[username]"; ?&gt;&lt;/div&gt;';</code>), but it doesn't work.</p>