Hello, The Function (function UPDATEquery($table,$where,$fields_values)) make the query SQL-injection-safe. But i will be increment a value with Row1=Row1+1. What can i do? Read the value out of the database and write it down with ++. There are 2 database connections. Thanks