It seems that class constants only cover PDO::PARAM_BOOL , PDO::PARAM_INT and PDO::PARAM_STR for binding. Are you just binding decimal / float / double values ββas strings or is there a better way to treat them?
MySQLi allows type 'd' for double, it is surprising that PDO has no equivalent when it seems like it is better for many other ways.
database php mysql pdo binding
Rob Aug 26 '09 at 14:22 2009-08-26 14:22
source share