28.09.2015, 21:53
Hello,
I have a system which involves a user inputting information into a parameter through a command they type. The input is using sscanf in which expects to receive an integer.
How do I exactly SQL Escape an integer? Seeing as it is not a string? Or is it not necessary, personally I don't feel it is necessary but perhaps it is. I do escape ALL strings however.
I have a system which involves a user inputting information into a parameter through a command they type. The input is using sscanf in which expects to receive an integer.
How do I exactly SQL Escape an integer? Seeing as it is not a string? Or is it not necessary, personally I don't feel it is necessary but perhaps it is. I do escape ALL strings however.