ConFoo Montreal 2026: Call for Papers

Voting

: seven plus two?
(Example: nine)

The Note You're Voting On

cpd-dev
15 years ago
Although bindValue() escapes quotes it does not escape "%" and "_", so be careful when using LIKE. A malicious parameter full of %%% can dump your entire database if you don't escape the parameter yourself. PDO does not provide any other escape method to handle it.

<< Back to user notes page

To Top