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 to display like table from database records?How do you check for an empty field in a form?
How can I check that a data value is alphanumeric?
is it possible to submit a form without a submit button
DYnamic Dropbox when I select a value it has to add a textbox to a specific position in the form how do I do it?? If I could change the dropbox in a textbox and make it add Textboxes depending on the number typed it would be even better but dont think th
