View Single Post
Old 01-17-2007, 11:50 AM   #13 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
you wouldn't be using addslashes and mysql_real_escape_string together.

htmlentities is for output.. not input.

so basically, turn magic quotes off and use the escape function.
__________________
Mike
sde is offline   Reply With Quote