我有这个代码:
<?php
echo $_GET['user'];
?>
<html >
<head>
</head>
<body>
<form method = "GET" action="file.php">
<input type = "text" name = "user"><br>
<input type = "submit" value ="submit"><br>
</form>
</body>
</html>
当我'在文本框中输入时,它会打印出来\'而不是'.
例如,如果我输入'hello'它会打印出来\'hello\'。
那么我该如何解决呢?