<input type="text" name="lyr" />*</td></tr>Р<tr><td>联系方式:</td>Р<td><input type="text" name="lxfs" />*</td></tr>Р<tr><td>留言内容:</td>Р<td><textarea name="lynr" cols="20" rows="2" ></textarea></td></tr>Р<tr><td> </td><td><input type="submit" value="提交" /></td></tr>Р</table></form>Р<p><a href="ck.php"> </a></p>Р</body>Р</html>Р信息留言倒入数据库lyb表中PHP文件Рlybinsert.php:Р<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/xhtml1/DTD/xhtml1-transitional.dtd">Р<html xmlns="9/xhtml">Р<head>Р<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />Р<title>无标题文档</title>Р</head>Р<body>Р<?Р$conn=mysql_connect("localhost","root","123");Р mysql_select_db("yu",$conn);Р mysql_query("set names utf8"); Р$lybt=$_POST["lybt"];Р$lyr=$_POST["lyr"];Р$lxfs=$_POST["lxfs"];Р$lynr=$_POST["lynr"];