Created
August 12, 2012 03:06
-
-
Save katryo/3329323 to your computer and use it in GitHub Desktop.
PHP練習
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
<html> | |
<head> | |
<title>test.php</title> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<form action="" method="GET"> | |
<input type="text" name="name"> | |
<input type="submit"> | |
</form> | |
<?php | |
$name = $_GET['name']; | |
echo htmlspecialchars("Let's\(・ω・)/$name"); | |
?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment