Skip to content

Instantly share code, notes, and snippets.

@yclim95
Forked from bkamapantula/jsInPhp.php
Created August 14, 2018 08:18
Show Gist options
  • Save yclim95/05c3ebed67d31befdeabe7c897eba595 to your computer and use it in GitHub Desktop.
Save yclim95/05c3ebed67d31befdeabe7c897eba595 to your computer and use it in GitHub Desktop.
Using Javascript alert box in PHP
<?php
echo "<script language='javascript'>alert('Try to be nice, OK? Please try again :-) ')</script>";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment