You might have to like this:
<?PHP
include "dbconnect.php";
# For php version 4.1.0 the you should use $_POST, and
# on older versions $HTTP_POST_VARS
$query = "INSERT INTO data (Product,ProductVersion)
VALUES('$_POST[Product]','$_POST[ProductVersion]')";
$result = mysql_query($query);
echo "Item Entered";
?>
If that one doesn't work, then try this one:
<?PHP
include "dbconnect.php";
# For php version 4.1.0 the you should use $_POST, and
# on older versions $HTTP_POST_VARS
$query = "INSERT INTO data (Product,ProductVersion)
VALUES('$HTTP_POST_VARS[Product]','$HTTP_POST_VARS[ProductVersion]')";
$result = mysql_query($query);
echo "Item Entered";
?>