MySQL Saving Problem
#7

Do not save data unless it has changed! That's useless.

Also this:
Код:
Ticket = %d, TicketReason0 = %s, TicketReason1 = %s, TicketReason2 = %s, TicketReason3 = %s, TicketReason4 = %s, TicketDate0 = %d, TicketDate1 = %d, TicketDate2 = %d, TicketDate3 = %d, TicketDate4 = %d
I mean, come on. Don't use a single table for everything. Please.

playersqliddatecomments
11368518399blah blah blah
11368517345lololol
31368518322foo bar
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 (').
Reply


Messages In This Thread
MySQL Saving Problem - by tiernantheman - 13.05.2013, 22:12
Re: MySQL Saving Problem - by JJB562 - 13.05.2013, 22:24
Re: MySQL Saving Problem - by Rillo - 13.05.2013, 22:24
Re: MySQL Saving Problem - by tiernantheman - 13.05.2013, 22:34
Re: MySQL Saving Problem - by Knappen - 13.05.2013, 22:39
Re: MySQL Saving Problem - by tiernantheman - 13.05.2013, 23:12
Re: MySQL Saving Problem - by Vince - 14.05.2013, 06:58
Re: MySQL Saving Problem - by tiernantheman - 14.05.2013, 21:43
Re: MySQL Saving Problem - by tiernantheman - 15.05.2013, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)