$sQuery="UPDATE dbo.cities SET city = N'".{city}."' WHERE id = ".{id}; sc_exec_sql($sQuery); sc_exit(ref);