You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table UsersCars where I store: "user_id", "car_id" and "airbags".
"car_id" and "airbags" are int columns, but when I try to get needed rows
from a table, I get them as strings. Specifically I'm using:
The problem is that I need carId and airbags as integers but I'm getting strings.
Surfing over the Internet I found the reason of such a strange behaviour. It is in
an installed php5-mysql driver. To solve this problem I removed it and then installed php5-mysqlnd. Also I added
this to an application.config:
I have a table UsersCars where I store: "user_id", "car_id" and "airbags".
"car_id" and "airbags" are int columns, but when I try to get needed rows
from a table, I get them as strings.
Specifically I'm using:
It returns me:
The problem is that I need carId and airbags as integers but I'm getting strings.
Surfing over the Internet I found the reason of such a strange behaviour. It is in
an installed php5-mysql driver.
To solve this problem I removed it and then installed php5-mysqlnd. Also I added
this to an application.config:
Maybe it will help somebody.
The text was updated successfully, but these errors were encountered: