Posts by Carlos Domingues • 23 points
1 post
-
2
votes1
answer1120
viewsQ: How the PDO::PARAM_STR parameter works in PHP+PDO
Example: $sth->bindValue(':calories', $calories, PDO::PARAM_INT); PDO::PARAM_INT This parameter is a kind of validation for data type ? If it is, why is there no error when I pass an integer?…