Problem with INSERT query
#7

Fixed it with solution below. Never had used quotes in mysql, but with R39 it seems im forced to do so.
Код:
mysql_format(SQL, string, sizeof(string), "INSERT INTO namechanges(PlayerSQL, OldName, NewName) VALUES('%d', '%e','%e')", pInfo[targetid][ID], pInfo[targetid][Name], oldname);
Reply


Messages In This Thread
Problem with INSERT query - by AA9 - 04.08.2015, 20:19
Re: Problem with INSERT query - by MarvinPWN - 04.08.2015, 20:24
Re: Problem with INSERT query - by AA9 - 04.08.2015, 20:30
Re: Problem with INSERT query - by AA9 - 05.08.2015, 11:47
Re: Problem with INSERT query - by Evocator - 05.08.2015, 11:52
Re: Problem with INSERT query - by AA9 - 05.08.2015, 15:41
Re: Problem with INSERT query - by AA9 - 05.08.2015, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)