26.11.2014, 18:25
hi,
i just cant figure out why this query is not working:
Before i added the [%s] part it was working just fine, now it tells me wrong mysql syntax.
thanks.
i just cant figure out why this query is not working:
pawn Код:
Current_Map_Name="Jefferson";
Current_Map_Mode="TDM";
new querymap[64];
format(querymap, sizeof(querymap), "UPDATE list SET map='%s [%s]', player='0'",Current_Map_Name,Current_Map_Mode);
mysql_query(querymap);
thanks.