CelticLord
Joined: 10 Nov 2012 Posts: 3
|
Posted: Sat Nov 10, 2012 17:08 Post subject: Timestamp ??? |
|
|
Could someone give me shortbus instructions on getting the timestamp to work...
I've tried everything I could imagine and no timestamp.
All i get is the default [TIMESTAMP ]in my database frome this code
in the onclientleave event..................
SQLExecDirect("CREATE TABLE " + sTable + " (" +
"player varchar(64) NOT NULL default '~'," +
"tag varchar(64) NOT NULL default '~'," +
"name varchar(64) NOT NULL default '~'," +
"val blob," +
"expire int(11) NOT NULL default '0'," +
"last timestamp NOT NULL default CURRENT_TIMESTAMP," +
"PRIMARY KEY (player,tag,name)" +
")"); |
|