NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysqli exception problem

John Campbell jcampbell1 at gmail.com
Mon Nov 5 23:16:28 EST 2007


I think the best example of how to make prepared statements fail is to
try something like this:

SELECT name FROM wines WHERE ?='red';

This will result in an error. If you think about what is going on
behind the scenes, it should be clear why.

Regards,
John Campbell



More information about the talk mailing list