thanks sorry but in this suituation why does it not show a error?....
<body>
<?php
if ($submit) {
// process form
$db = mysql_connect("localhost", "root");
mysql_select_db("antiques",$db);
$sql = "INSERT INTO general (name,description,price,image_name) VALUES ('$name','$description','$price','$image_name')";
$result = mysql_query($sql);
echo "Thank you! Information entered.\n";
} else{
// display form
?>
<form method="post" action="<?php echo $PHP_SELF?>">
name:<input type="Text" name="name"><br>
description:<input type="Text" name="description"><br>
price:<input type="Text" name="price"><br>
image name:<input type="Text" name="image_name"><br>
<input type="Submit" name="submit" value="Enter information">
</form>
<?php
} // end if
?>
</body>
</html