title: How to show a result of var_export() in a div container?
body: <p>i'm  trying to show a result of var_export() in a separate div container.</p>
  
  <pre><code>$value = var_export($myarray,true);
  echo "&lt;script&gt;$('#div_debug').html('$value');&lt;/script&gt;";
  </code></pre>
  
  <p>and i get the this error:</p>
  
  <blockquote>
    <p>SyntaxError: unterminated string literal</p>
  </blockquote>
  
  <p>can anyone help me?</p>
  
  <p>With ordinary Strings the Code is Working fine, but not with th eresult of of Var_dump/var_export</p>