Re: [PHP-DB] stripslashes ( encodings to from MySQL )

2011-01-28 Thread Donovan Brooke
Sorry, should have done some simple testing!.. It appears that stripslashes is smarter than simply stripping all "/". So, my apologies for interrupting the class! ;-) Donovan -- D Brooke -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] stripslashes ( encodings to from MySQL )

2011-01-28 Thread Donovan Brooke
Hello, I use mysql_real_escape_string() to escape data for db population. ie. ..form.. ..recieving form input before db update.. $var =mysql_real_escape_string($var); My question is regarding when wanting to allow HTML within a database... Will stripslashes also take out the slashes from so