title: Multiple layers of quotes in script in PHP variable that is echoed
body: <p>PHP: </p>
  
  <pre><code>$var123 = '&lt;div class="mydiv" onclick="document.getElementById("dialog").style.display = "block";"&gt;Some text&lt;/div&gt;';
  echo($var123);
  </code></pre>
  
  <p>I know this is a total newbie question, but how do I make this work? Thanks!</p>