14.05.2013, 06:58
Do not save data unless it has changed! That's useless.
Also this:
I mean, come on. Don't use a single table for everything. Please.
The same goes for the notes and the inboxes.
The piece of code I cited above also reveals an error in your query since strings need to be enclosed in single quotes (').
Also this:
Код:
Ticket = %d, TicketReason0 = %s, TicketReason1 = %s, TicketReason2 = %s, TicketReason3 = %s, TicketReason4 = %s, TicketDate0 = %d, TicketDate1 = %d, TicketDate2 = %d, TicketDate3 = %d, TicketDate4 = %d
playersqlid | date | comments |
1 | 1368518399 | blah blah blah |
1 | 1368517345 | lololol |
3 | 1368518322 | foo bar |
The piece of code I cited above also reveals an error in your query since strings need to be enclosed in single quotes (').