SA-MP Forums Archive
Mysql Logging - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mysql Logging (/showthread.php?tid=559521)



Mysql Logging - TakeiT - 23.01.2015

I'm looking on information on updating a DATETIME stamp automatically. I've been able to make it set itself on INSERT, but I want it to change on UPDATE, automatically. I'm not sure if you can force values into it, as its usually an automatic process (Like using Auto increment for an int). I guess I could save it as a string, but i'd like it to work the default way, if possible.


Re: Mysql Logging - Misiur - 23.01.2015

http://dev.mysql.com/doc/refman/5.6/...alization.html