摘要:
<?php // print_r($_GET); 拿到get方法提交的数据 02.get-post.html表单的数据 // echo $_GET['username']; // 拿到用户名 // echo $_GET['user_Pwd']; // 拿到密码 // print_r($_POST); 阅读全文
摘要:
<body> <form action="02.get-post.php" method="POST"> <!-- form标签 可以提交到远程服务器 也可以提交到自己的服务器 写到 action属性里面 提交方式有两种 写在 method里面 一种是 get 另一种是 post--> <!-- 提 阅读全文
摘要:
<?php // 1.js中的注释 PHP也一样 // 单行 /* 多行 */ // 2.JS中如何定义变量 // var num = 10; JS //$num = 10; // PHP // 3.JS如何打印内容 // console.log() // JS // echo $num; // P 阅读全文