83.php : 打开一个叫83.php的页面 83.php? : 准备为83.php页面加载参数 83.php?id : 为83.php页面加载一个叫id的参数 83.php?id = : 为这个参数赋值 83.php?id = <……> 为这个参数赋了一个叫"<……>"的字符串这样使用的时候: 83.php?id = <input type = text name = text1 value = good>id被赋值为 <input type = text name = text1 value = good>在83.php中用print或echo输出这个串: echo $_POST["id"];你将在浏览器上得到一个叫text1的文本框,里面有个叫good的值。so that's it.
你可以在83.php中通过 $_POST["id"] 得到字符窜"<?echo $row["id"]?>"
83.php? : 准备为83.php页面加载参数
83.php?id : 为83.php页面加载一个叫id的参数
83.php?id = : 为这个参数赋值
83.php?id = <……> 为这个参数赋了一个叫"<……>"的字符串这样使用的时候:
83.php?id = <input type = text name = text1 value = good>id被赋值为 <input type = text name = text1 value = good>在83.php中用print或echo输出这个串:
echo $_POST["id"];你将在浏览器上得到一个叫text1的文本框,里面有个叫good的值。so that's it.
这段代码应出现在php程序中的<? ?>之外
最终产生<a href="83.php?id=123">的html标签
其中的123假定为 $row["id"] 的值,实际运行时会根据 $row["id"] 变化
这样写你更不懂了,呵呵
不过效果一样
如果$row["id"]=dabizi,那么
<a href="83.php?id=dabizi">嵌入式脚本的特征