我不太清楚如何格式化字符串“”,以免导致错误。
<html>
<head>
</head>
<body>
Please register:
<?php if (!isset($_POST['username']) && !isset($_POST['password'])) {
echo "<form action="<?php $_SERVER['PHP_SELF'] ?>" method="POST">";
echo "Username: <input type="text" name="username">";
echo "Email: <input type="text" name="email">";
echo "Password: <input type="password" name="password"></br>";
echo "<input type="submit" value="Register">";
echo "</form>";