Hello, I mean example with test data where we can see where the problem ist! Hope it is clear. Kind Regards, Will
Thats really difficult.
I have investigated the problem. Maybe it depends on my PHP version (i use 7.0.16-1dotdeb+8.1)
The typecast is the problem:
|
|
case 'int': $stmt->bindValue($key + 1, (int) $field, PDO::PARAM_INT); break; |
So, i have fixed my problem with the following simple change.
|
|
case 'int': $field = (int) $field; $stmt->bindValue($key + 1, $field, PDO::PARAM_INT); break; |
Greets Andre
-
This reply was modified 9 years, 3 months ago by
ddandre.
-
This reply was modified 9 years, 3 months ago by
ddandre.