about sqlite
#3

Text values require apostrophes around the specifier. '%s' or escaped '%q'

Since you are new, always escape any input by players to avoid SQL injection and update values when they change. Update `username` column when a player changes their name or update `Pass` column when a player changes their password, there is really no reason to save them every time when they do not change.
Reply


Messages In This Thread
about sqlite - by 3417512908 - 26.10.2018, 12:27
Re: sqlite problem - by 3417512908 - 26.10.2018, 12:33
Re: about sqlite - by Calisthenics - 26.10.2018, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)