View Single Post
  #4 (permalink)  
Old 01-16-04, 09:20 AM
digioz's Avatar
digioz digioz is offline
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
__________________
Reply With Quote