怎么样可以在静态页面也可以给数据库插入时间??

来源:百度知道 编辑:UC知道 时间:2024/05/30 12:14:23
怎么样可以在静态页面也可以给数据库插入时间??
怎么样可以在静态页面也可以给数据库插入时间??

js脚本可以实现!贴个例子!
静态页面
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>google提示 http://dwww.cn </title>
<script src="xmlhttp.js" ></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>
<form id="form1" name="form1" method="post" action="">