.. Hm.. Not sure if I know your problem..
In the page you have posted to (Say, you have posted the vars $name and $message):
$query = "insert into YOURTABLE (name, message) values ($name, $message)";
$inserted =@ mysql_query($query) or die ("<b>Data could not be inserted. </b>");
Hope this helps?