[nycphp-talk] PDO or sprintf for creating sql queries.
Anthony Wlodarski
aw at sap8.com
Thu Nov 8 09:58:26 EST 2007
I usually created my SQL queries using sprint() and
mysql_real_escape_string() but this morning through an associate I was
informed of this thing called PDO shipping with PHP 5.1 and higher. I did a
little research on what it does and was thrilled about the potential uses
for it. My question is though what are its potential uses? I had a chance
to preview bindParam for prepared statements and was like this is awesome!
Also does PDO help escape strings or is something like
mysql_real_escape_string() always a necessity?
Anthony Wlodarski
aw at sap8.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20071108/313097f3/attachment.html>
More information about the talk
mailing list