sorry for the delay thanks.....
I went back to the code and the database and found something odd......
It was adding a blank record as well....
so i went basic and grabbed a cheesy 101 form and php and created a new DB and it was also adding a blank record...
here are the 2 pages
<html>
<body>
<form action="duh.php" method="post">
Firstname: <input type="text" name="firstname" />
Lastname: <input type="text" name="lastname" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
</body>
</html>
and
<?php
$con = mysql_connect("localhost","","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("final", $con);
$sql="INSERT INTO my_db (FirstName, LastName, Age)
VALUES
('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";
if (!mysql_query($sql,$con))
{
die('Error: ' . mysql_error());
}
echo "1 record added";
mysql_close($con)
?>