Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: six plus zero?
(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