Hi,歡迎訪問前端老白
<form> <p>用戶名:<input type="text" name="username"></p> <p>密碼:<input type="password" name="password"></p> <input type="submit" value="登錄"> </form>
<form action="submit.php" method="post"> <p>用戶名:<input type="text" name="username"></p> <p>密碼:<input type="password" name="password"></p> <input type="submit" value="登錄"> </form>
$username = $_POST["username"]; $password = $_POST["password"];
老白網絡 (http://www.lofty888.cn/) 前端 后端 zblog主題.網站地圖xml