how to after submit got to insert.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
<?php
include_once 'common.php';
require_once("pages/validation.php");
?>
<?
if (!$_COOKIE["ln"]){
$data['lang_ch']=$data['DefaultLanguage'];
setcookie("ln", $data['lang_ch']);
}
?>
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="css/1.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<!-- This is where the image of the house goes -->
</div>
<h1 class="main_title"><a href="#"></a></h1>
<? include ('pages/menu.php') ?>
<div id="container">
<div id="inner_container">
<div id="content">
<?if( isset($_POST['send']) && (!validateName($_POST['name']) || !validateEmail($_POST['email']) || !validateMessage($_POST['message']) ) ):?>
<div id="error">
<ul>
<?if(!validateName($_POST['name'])):?>
<li><strong><?= $errorname?></strong> <?= $errorname1?></li>
<?endif?>
<?if(!validateEmail($_POST['email'])):?>
<li><strong><?=$errormail?></strong> <?=$errormail1?></li>
<?endif?>
<?if(!validateMessage($_POST['message'])):?>
<li><strong><?=$errormessage?></strong> <?=$errormessage?></li>
<?endif?>
</ul>
</div>
<?elseif(isset($_POST['send'])):?>
<div id="error" class="valid">
<ul>
<li><strong><?=$congratulations?></strong> <?=$congratulations?></li>
</ul>
</div>
<?endif?>
<form method="post" id="customForm" action="">
<div>
<label for="name"><?= $name; ?></label>
<input id="name" name="name" type="text" />
<span id="nameInfo"><?= $yourname; ?></span>
</div>
<div>
<label for="email"><?= $email; ?></label>
<input id="email" name="email" type="text" />
<span id="emailInfo"><?= $yourmail; ?></span>
</div>
<div>
<label for="pass1"><?= $group; ?></label>
<input id="pass1" name="pass1" type="text" />
<span id="pass1Info"><?= $yourgroup; ?></span>
</div>
<div>
<label for="pass2"><?= $countrys; ?></label>
<select name="country">
<option value="AF">Afghanistan</option>
<option value="AX">ÅLand Islands</option>
</select>
</div>
<div>
<label for="message"><?=$message?></label>
<textarea id="message" name="message" cols="" rows=""></textarea>
</div>
<div>
<input id="send" name="send" type="submit" value="<?=$submit;?>" />
</div>
</form>
</div>
<script type="text/javascript" src="ajax/jquery.js"></script>
<script type="text/javascript" src="ajax/validation.js"></script>
</body>
</html>
</div>
</div>
</div>
<div id="footer">
</body>
</html>
this is my code i use this teturial
http://yensdesign.com/2009/01/how-validate-forms-both-sides-using-php-jquery/
if all is ok .. how to go to insert.php to insert the database
sorry for my english
and thank you for your time!