Revision: 34827
Updated Code
at October 28, 2010 21:08 by chopbust
Updated Code
function alertJavascript($message){ echo " <script type=\"text/javascript\">alert(\"$message\");</script> " ; }
Revision: 34826
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 28, 2010 21:07 by chopbust
Initial Code
function alertJavascript($message){ echo " <script type=\"text/javascript\"> alert(\"$message\"); </script> " ; }
Initial URL
Initial Description
This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
Initial Title
PHP Function to call up Javascript Alert
Initial Tags
javascript, php
Initial Language
PHP