How do I remove escape characters from data?
<?php
$data = "I\'m the king of the castle";
echo stripslashes($data); //I'm the king of the castle
?>
Comments on this Question/Answer
Can I eliminate escape character from data with out using magic quotes methodsBy: vipin s v, 16 Jul 2009 02:06:42
Reply to comments / post your own comment >>>
ASK A QUESTION
More forms PHP Questions
How do I make a website field mandatory?I am having a form. Here, i am submitting the form using java script as its necessary. If the form method is get, i am able to get in redirection page and can get the hidden values in the form. But if the form method is post, i am not able to get those hi
if i send values to database ,but in that table zeros is added ,how can i rectify the error
How do I check that a valid email address is entered?
how to access information sent trough $_GET on functions?
