Problem with character like ' " /
Posted: Tue Mar 24, 2009 12:03 pm
Hi there, need help on this....TQ very much
The character ' is giving me problem on this
<textarea name="message"></textarea>
whenever i submit the textarea and i echo back the contents
Customer's Name is Johnson
will become
Customer\'s Name is Johnson
That is "abc"
will become
That is \"abc\"
You can choose either\
will become
You can choose either\\
tried with
echo $_Request[ 'message' ] --->produce the red result
$temp = $_Request[ 'message' ];
echo $temp --->produce the red result
The character ' is giving me problem on this
<textarea name="message"></textarea>
whenever i submit the textarea and i echo back the contents
Customer's Name is Johnson
will become
Customer\'s Name is Johnson
That is "abc"
will become
That is \"abc\"
You can choose either\
will become
You can choose either\\
tried with
echo $_Request[ 'message' ] --->produce the red result
$temp = $_Request[ 'message' ];
echo $temp --->produce the red result