I've seen this question repeated a few times on Stack Overflow but none sufficiently explore the problem (or at least in a way that is helpful to me) The problem is that a DB query should return integer data types in PHP for integer columns. Instead the query returns every column as a string type....