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 / amjith ps (http://beyondaltitu

stripslashes($string);

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long do php sessions last?

556


What is the use of "ksort" in php?

499


How to find the index of an element in an array php?

521


What's the difference between __sleep and __wakeup?

544


What is session_start () in php?

516






How do I stop php artisan serve in windows?

497


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

580


Is gender a dependent variable?

504


What function do we use to find length of string, and length of array?

525


What is the difference between html and php?

537


How to access a specific character in a string using php?

509


How do I repair phpmyadmin?

518


what are interfaces and Abstart classes

1457


How we can retrieve the data in the result set of mysql using php?

518


How can you associate a variable with a session?

579