Created
March 26, 2014 06:20
-
-
Save kowata/9777721 to your computer and use it in GitHub Desktop.
PHPの値をJSで出力
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '<script type="text/javascript">alert("' . $hoge . '");</script>'; | |
echo '<script type="text/javascript">console.log("' . $hoge . '");</script>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment