chrispos Posted February 28, 2011 Share Posted February 28, 2011 Hi All I Am confused I would like to put info into a database but need it to be secure. I have some code shown below. The problem is I would like to put in ' but keep the data secure. When it comes back I do not want to show \' I think you might know what I am trying to do. Here is the code but would like to know how to stop the \' showing. $password = mysql_real_escape_string(stripslashes(trim($_POST['password']))); Any help would be great thank you. Quote Link to comment Share on other sites More sharing options...
AbraCadaver Posted February 28, 2011 Share Posted February 28, 2011 The code you posted will insert a ' not \' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.