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