I wrote this:
<!DOCTYPE HMTL>
<html>
<head>
</head>
<body>
<?php
$javascript = echo '<script type = "text/javascript">',
'prompt("Hello");', '</script>';;
?>
</body>
</html>
And it says:
Parse error: syntax error, unexpected 'echo' (T_ECHO) in C:\xampp\htdocs\h.php on line 7