Use JS em PHP


<?php 
echo '<script type="text/JavaScript"> 
     prompt("GeeksForGeeks");
     </script>'
;
?>
Precious Pygmy