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 _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
