10.10.2016, 17:36
Seems like %q specifier replaces with '' instead of \', at least that's what it printed for a single apostrophe.
Just use mysql_format and '%e' and you'll have no problems.
---
As for strtok and non-threaded queries, consider use better methods (sscanf and threaded queries).
Just use mysql_format and '%e' and you'll have no problems.
---
As for strtok and non-threaded queries, consider use better methods (sscanf and threaded queries).