I have the syntax mysql_query("INSERT INTO ....);"); If this is successful I want to do update a column in one of my tables $query = "UPDATE ... "; mysql_query($query); How do I test if the INSERT INTO mysql_query, in order to trigger the UPDATE? Ron