php and mysql problem?

i made a database for a comment form. the database has one table named "comments" and the table has 3 columns: "id", "name" and "comment".
the code for the form is this

<form name="input" action="actionScript.php" method="post">
<b>Enter Name:</b>
<br />
<input type="text" name="title" />
<br />
<b>Enter Comment</b>
<br />
<textarea rows="5" cols="20" wrap="physical" name="comment">
</textarea>
<input type="submit" value="Submit" />
</form>

the code in the actionScript.php is this

<?php

$name = ($_POST["title"]);
$comment = ($_Post["comment"]);

$con = mysql_connect("somehost","username","password");
if (!$con)
{
die('Could not connect:' . mysql_error());
}

mysql_select_db("a7392635_data", $con);
mysql_query("INSERT INTO comments (name,comment)
VALUES ('$name','$comment')");

mysql_close($con);
?>

Now the problem is that when the data is inserted into the table, it only inserts into the name column and the comment column remains empty.
does anyone know why? because i really cant figure this out and ive check if i got all the names right.
thanks
 
Back
Top