View Single Post
aleeexxx
Member
Join Date: May 2014
Location: Valhalla
Old 08-13-2018 , 00:52   Re: SQLite set multiple values
Reply With Quote #13

You have an error into your query you need to set the value into quotes, like this:

Code:
Format(sQuery, sizeof(sQuery), "UPDATE %s SET value = \"%s\", timestamp = %i WHERE AuthId = \"%s\"", Name, Value, timestamp, AuthId);
Also if you want to use the time for update in sqlite use GetTime();
__________________
aleeexxx is offline
Send a message via MSN to aleeexxx