SQL Issues
#4

Code:
`BankAccount` = '%d, `Cash` = '%d', `Savings` = '%d'
You don't close the apostrophe.

On another note, you save everything at once — this is wrong. Do birthday or admin change every single time a player disconnects? No, so update them only when they change and remove them from the query. This rule applies for all of them. Update only what changes values.
Reply


Messages In This Thread
SQL Issues - by BabyBauer - 15.07.2018, 16:37
Re: SQL Issues - by Calisthenics - 15.07.2018, 16:50
Re: SQL Issues - by BabyBauer - 16.07.2018, 03:52
Re: SQL Issues - by Calisthenics - 16.07.2018, 07:38
Re: SQL Issues - by BabyBauer - 16.07.2018, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)