now i thought that, but i've used the standard syntax for my INSERT and UPDATE, unless i'm making some blind mistake, lol. Howevere here is my mysql query
$result=mysql_query("UPDATE events SET displayuntil='$displayuntil', headline='$headline2' WHERE id = '$id' ");