27.08.2018, 10:35
Hi guys,
I store every question/answer in my mysql database(For admin-panel)
But when player insert some characters i get some errors
For example if I type
I will get error for ' character..So I don't know how to fix it.
Example of my insert into query
I store every question/answer in my mysql database(For admin-panel)
But when player insert some characters i get some errors
For example if I type
Код:
/ask I'm GospodinX
Example of my insert into query
Код:
INSERT INTO logovi SET `Staff`='%s', `Player`='%s', `Question`='%s', `Answer`='%s', `date`=UNIX_TIMESTAMP()", GetName(playerid),GetName(id),text,Ask[id][pText]);