I have a table field in a MySQL database:
userid INT(11)
So I am calling it to my page with this query:
\"SELECT userid FR
This happens when PDO::ATTR_EMULATE_PREPARES is set to true on the connection.
PDO::ATTR_EMULATE_PREPARES
true
Careful though, setting it to false disallows the use of parameters more than once. I believe it also affects the quality of the error messages coming back.
false