slashes problem
Posted: Mon Feb 04, 2008 11:26 am
Hello
Please check: http://beta.cmela.com/pro_view.php?pid=59
In product description you will see slashes i used stripshashes but still no luck.
I have another idea of using htmlspecialchars function like:
Basically my requirement is to able to allow user to put following character like single quote, double quote, slahses (' " / \) in db but no hacking or sql injection should occur.
any help
thank you
Please check: http://beta.cmela.com/pro_view.php?pid=59
In product description you will see slashes i used stripshashes but still no luck.
I have another idea of using htmlspecialchars function like:
Code: Select all
$new = htmlspecialchars('15.5" color TV/Free Shipping', ENT_QUOTES);any help
thank you