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 advantages of .htaccess?

0 Answers  


Write a hello world program using variable?

0 Answers  


Is facebook still written in php?

0 Answers  


Why delimiter is used in mysql?

0 Answers  


What is php destruct?

0 Answers  






How to Pass JSON Data in a URL using CURL in PHP?

0 Answers  


What is difference between required and require_once in php?

0 Answers  


How can we encrpt a text?

3 Answers  


Explain the purpose of output buffering in php.

0 Answers  


Difference between mysql_connect and mysql_pconnect in php?

2 Answers  


What does a delimiter do in mysql?

0 Answers  


How can I get the only name of the current executing file?

6 Answers  


Categories