note 103370 deleted from book.pdo by googleguy
| From: | googleguy@php.net | Date: | Sat, 12 Jan 2013 11:02:25 +0000 |
| Subject: | note 103370 deleted from book.pdo by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192981@lists.php.net to get a copy of this message | ||
Note Submitter: sezer
----
To insert real numbers (non int) you must use PDO:: PARAM_STR, not PDO:: PARAM_INT
Using PDO:: PARAM_INT rounds your number to INT, seen with pdo sqlite