In a php tag, I wrote this:
<?php echo '
<form method = "post" onsubmit="return confirm('test');">
</form>
'; ?>
I receive a syntax error: Parse error: syntax error, unexpected 'test' (T_STRING), expecting ',' or ';'
Might anyone know how to fix this?