Hi. Is it possible to get data from database as correct PHP types directly without retyping them?
For example:
TINYINT, INT, BIGINT as integer
FLOAT, DOUBLE, DECIMAL as float
CHAR, VARCHAR, TEXT as string
I do not care about dates as date type. Now everything, except of null, are strings. I am using MySQL database.
For example:
TINYINT, INT, BIGINT as integer
FLOAT, DOUBLE, DECIMAL as float
CHAR, VARCHAR, TEXT as string
I do not care about dates as date type. Now everything, except of null, are strings. I am using MySQL database.
![[Image: S25iRX.jpg]](http://snipboard.io/S25iRX.jpg)