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=utf-8" />
<title>Book Store</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<?php
if(isset($_GET['action'])&&$_GET['action']=='send')
{
include "coon.php";
$sql="insert into message (id,name,email,phone,qq,message)".
"values('','$_POST[name]','$_POST[email]','$_POST[phone]','$_POST[qq]','$_POST[message]')";
mysql_query($sql)or die(mysql_error());
echo "<script language=\"javascript\">alert('添加成功');history.go(-1)</script>";
}
?>
<div id="wrap">
<div class="header">
<div class="logo"><a href="index.php"><img src="images/logo.gif" alt="" title="" border="0" /></a></div>
<div id="menu">
<ul>
<li><a href="index.php">home</a></li>
<li><a href="about.html">about us</a></li>
<li><a href="category.html">books</a></li>
<li><a href="specials.html">specials books</a></li>
<li><a href="log.php">my accout</a></li>
<li><a href="register.php">register</a></li>
<li><a href="details.html">prices</a></li>
<li class="selected"><a href="contact.php">contact</a></li>
</ul>
</div>
</div>
<div class="center_content">
<div class="left_content">
<div class="title"><span class="title_icon"><img src="images/bullet1.gif" alt="" title="" /></span>Contact Us</div>
<div class="feat_prod_box_details">
<p class="details">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud.
</p>
<div class="contact_form">
<div class="form_subtitle">all fields are requierd</div>
<form action="?action=send" method="post" name="myform" onsubmit="return CheckPost();">
<div class="form_row">
<label class="contact"><strong>Name:</strong></label>
<input type="text" class="contact_input&qu