<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?php @mysql_connect("localhost", "root", "") or die("连接MySQL数据库失败。");mysql_select_db("test") or die("打开MySQL数据库失败。");$sql = "INSERT INTO test (id, uid, regdate, remark) VALUES('', '测试', now(), '测试')";mysql_query($sql);?>