when we submit any string in single inverted comma('abc')
with get or post method,we will get exact string with single
inverted comma('abc')by using $_REQUEST[]. But it is giving
(\'abc\'). so anybody please help me to remove that
slash,therefore i will get exact string...
Answer Posted / asish kumar khuntia(mithu)
When a special char like ', " etc, are passing through we
are add slashes
we remove those things through stripslashes(\'abc'\);
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to read the entire file into a single string?
Explain what is the function file_get_contents() usefull for?
What is the difference between explode () and split () functions in php?
How to do single and multi line comment in php?
How to use http headers inside php?
How can we determine whether a php variable is an instantiated object of a certain class?
Tell me how is it possible to remove escape characters from a string?
What is smarty?
What are objects in php?
How to create an array of a group of items inside an html form?
What is is_null() in php?
How you can update memcached when you make changes to php?
What is use of header() function in php? What the limitation of header()?
What is the meaning of a final class and a final method?
How should a model be structured in mvc?