I want to have more than two layers of quotes.
This is for an error message using document.write and php’s echo function.
<img src="#" onerror="javascript:document.write('<?php echo("An error has occurred.") ?>')"
I expected it to replace the document with "An error has occurred," but it didn’t.