<?php $text = 'hey good day'; $text = htmlspecialchars($text); echo "<script>alert('". json_encode($text) ."');</script>";
You have javascript disabled. You will not be able to edit any code.