09.05.2014, 13:50
Quote:
Код:
format(pQuery, sizeof(pQuery), "INSERT INTO "#TABLE_NAME"(Username, Time, Text) VALUES('%s', NOW(), '%s')", pName, text); |
Quote:
Another thing: You should probably use datetime field instead of date, as it would most likely be useful to store the time of the message as well, not just the date.
|
Cheers