PHP_MySQL教程-第二天 |
|
来源:PHPerz.com 作者:网络转载 发布时间:2007-12-08 |
|
|
$sql = "SELECT * FROM employees WHERE id=$id";
$result = mysql_query($sql);
$myrow = mysql_fetch_array($result);
?>
<form method="post" action="<?php echo $PATH_INFO?>"> php程序员站
<input type=hidden name="id" value="<?php echo $myrow["id"] ?>">
名:<input type="Text" name="first" value="<?php echo www.phperz.com $myrow["first"] ?>"><br>姓:<input type="Text" name="last" value="<?php echo $myrow["last"] ?>"><br>住址:<input type="Text" name="address" value="<?php echo phperz.com $myrow["address"] ?>"><br>职位:<input type="Text" name="position" value="<?php echo $myrow["position"] ?>"><br><input type
|
上一页1234567891011121314151617下一页 |
[收藏此页] [打印本页] [返回顶部] |
|
|
|
|
|
|
|
|
|