Thread
:
Why do I get a \ in front of '
View Single Post
#
4
(
permalink
)
01-16-04, 09:20 AM
digioz
Community VIP
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
It may be easier to use the stripslash function:
Code:
$variable = stripslashes($variable);
Quote:
Originally Posted by
Nick
this is because you have magic quotes enabled.
to disable this, place the following line in an .htaccess file in your base web root:
php_flag magic_quotes_gpc off
__________________
DigiOz Multimedia
|
My Blog
|
My Twitter
digioz
View Public Profile
Visit digioz's homepage!
Find all posts by digioz