SQLite question
#1

Is it necessary to use these things ( INSERT INTO `PLAYERS` ( `NAME` ), %q )?

I mean those quotes " `` " and " %q " instead of " %s "
Reply
#2

If a column has same name as a reserved keyword in SQL or contains a space, you need to quote it using back ticks ( ` ).

%q escapes special characters in order to avoid SQL injection
Reply
#3

Oh, it's fine. But, I do not understand the second, what do you mean by "special characters"? If it's the name, ip, password, how would you do it in this case?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)