What is wrong with this query? It appears to be correct to me:

```
mysql_query("UPDATE culture SET cult_desc=$culture WHERE cult_id is $UID");

```

Modified it, NetBeans is still giving me an error. Here's my total code for the page:

```
$culture = $_POST["culture"];
if (isset($_POST["id"]))
    $UID = $_POST["id"];
    mysql_query("UPDATE culture SET cult_desc='$culture' WHERE cult_id=$UID");
else
     mysql_query("INSERT INTO culture
             VALUES(cult_desc='$culture')");

```