Php Array Check If Value Exists Sql Syntax For Update Table Sql