[ACCEPTED]-What is the best way to bind decimal / double / float values with PDO in PHP?-pdo
Accepted answer
AFAIK PDO::PARAM_STR is the way to go.
0
You have to use PDO::PARAM_STR, but for 2 SQLite and other engines this can have unpredictable 1 behaviors. See this issue for one example: SQLite HAVING comparison error
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.