in reply to Detect SQL injection

You (or future readers) may also wish to peruse some of the information here:

Update 12/03/2010: See also bobby-tables.com: A guide to preventing SQL injection, courtesy of Anonymous Monk

HTH,

planetscape