Is there a list describing all of the data_type parameters you can use in PDOStatement::bindParam()
? If none, what do you commonly use, and for what type of field ?
According to PHP manual: *data_type* Explicit data type for the parameter using the PDO::PARAM_* constants.
I know about the PDO::PARAM_INT
and PDO::PARAM_STR
. I've heard of PDO::PARAM_LOB
but I wasn't sure how and when to use that, though. (for date ?)