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

What are arguments in php?

0 Answers  


Explain me what is x+ mode in fopen() used for?

0 Answers  


Tell me what is the difference between ereg_replace() and eregi_replace()?

0 Answers  


Explain the difference between urlencode and urldecode?

0 Answers  


To find out the current year is leap year or not which date() function we've to use.Give the syntax also

5 Answers  


How to call php function in jquery?

0 Answers  


What is mod_php?

0 Answers  


How do you put a space in html?

0 Answers  


What is the use of Mbstring?

0 Answers  


Which framework is best for php development?

0 Answers  


How to download and install php on windows?

0 Answers  


Are static variables final?

0 Answers  


Categories