04.08.2016, 13:21
Firstly, to use mysql_tquery you can use only 2 arguments like this :
Then, the problem came from the control character:
Compiles like that :
So WHERE%d (or WHERE2 per exemple) isn't known by the language SQL, you need so to put a space character before your backslash.
Code:
mysql_tquery(mysql, query);
Code:
`viplvl` = %d\ WHERE `ID` = %d",
Code:
`viplvl` = %dWHERE `ID` = %d