Escape codes.
#1

Hi,

Here

https://sampwiki.blast.hk/wiki/Escape_codes

Backslash (\) is changing to \\ so everything i save string my string will get bigger and bigger? if it was that:

blabla\\\

Then after saving by:

blabla\\\\\\


Second save:

blabla\\\\\\\\\\\

?
Reply
#2

Yes, see here https://sampwiki.blast.hk/wiki/Escaping_Strings_SQLite you need have size * 2 or block special characters in string for player
Reply
#3

Block special characters how to do that? but i do i need really escape maybe i don't need do that?
Reply
#4

YES you need escape everyting what player can write into database
Reply
#5

Then how block special characters? because have i said and you said that slashes doubles everytime i save and this is really annoying.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)