/ Published in: PHP
This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
Expand |
Embed | Plain Text
function alertJavascript($message){ echo " <script type=\"text/javascript\">alert(\"$message\");</script> " ; }
You need to login to post a comment.
