简单网页数据传递

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>提交</title>
</head>
<body>

<form action="w4.php" method="get">
Username: <input type="text" name="user">
<input type="submit" >
</form>

</body>
</html>

将数据传到另一个网页中。

<html>
<body>

Welcome <?php echo $_GET["user"]; ?><br>

</body>
</html>
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务