When posting integer values into a MySQL database should I be using quotation marks?
what is the difference between using quotation marks and not using quotation marks?
When posting integer values into a MySQL database should I be using quotation marks?
Share
This is more of a general programming answer in this case IMO. If you want to use integers, then you should not treat them like strings (use quotation marks). In most cases, you are forcing the processing engine to cast it from a string to an int. So, why add the extra work if it is already an int to begin with.