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



when we submit any string in single inverted comma('abc') with get or post method,we will..

Answer / amjith ps (http://beyondaltitu

stripslashes($string);

Is This Answer Correct ?    6 Yes 0 No

when we submit any string in single inverted comma('abc') with get or post method,we will..

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

Post New Answer

More PHP Interview Questions

Is php 7 backwards compatible?

0 Answers  


What is the difference between single quoted string and double quoted string?

0 Answers  


What is mod_php?

0 Answers  


Explain about PHP filter and why it should be used?

0 Answers  


What are the differences between include() and include_once () functions?

12 Answers  


Which database is best for php?

0 Answers  


What is the difference between implode() and explode() in php?

0 Answers  


What is php default argument?

0 Answers  


When do you use define() and when do you use const. What are the main differences between those two?

0 Answers  


What is the difference between super () and this ()?

0 Answers  


Tell me what is the use of explode() function?

0 Answers  


What is $_session in php?

0 Answers  


Categories