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...
Answers were Sorted based on User's Feedback
Answer / 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 |
Is php 7 backwards compatible?
What is the difference between single quoted string and double quoted string?
What is mod_php?
Explain about PHP filter and why it should be used?
What are the differences between include() and include_once () functions?
Which database is best for php?
What is the difference between implode() and explode() in php?
What is php default argument?
When do you use define() and when do you use const. What are the main differences between those two?
What is the difference between super () and this ()?
Tell me what is the use of explode() function?
What is $_session in php?