[Phpmyadmin-devel] sqlAddSlashes

Ayush Chaudhary ayushchd at gmail.com
Tue Jun 25 14:09:24 CEST 2013


Hi, 

I was setting up some unit tests when I came across the function PMA_Util::sqlAddSlashes() Isn't it supposed to add slashes to single quotes? Because I tested this:

echo PMA_Util::sqlAddSlashes("pma_'db");

And the output was pma_''db

Is this the correct behaviour? 

-- 
Ayush Chaudhary

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130625/5906eb42/attachment.html>


More information about the Developers mailing list