...

View Full Version : Using PHP's mysql_real_escape_string() with MySQL's DELETE



FlashDance
11-10-2011, 02:55 AM
I use PHP's mysql_real_escape_string() when using MySQL's INSERT. What I am wondering is if PHP's mysql_real_escape_string() should also be used when using MySQL's DELETE?

guelphdad
11-10-2011, 06:35 AM
mysql_real_escape_string should be use at ANY TIME you have user input being passed to your database. otherwise why use it?

FlashDance
11-10-2011, 06:42 AM
Thanks!

Solved.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum