Translations:Manual:Database access/138/en

Then use the affected row count to see if the query succeeded.