when i write
input data: hel'l"lo
print_r($_POST)
display hel\'\"lo
and when i use
if(get_magic_quotes_gpc()){
mysql_real_escape_string($_POST);
display
hel\\\'\\\"lo
now my quetion is that "is it necessary to use mysql_real_escape_string? bcoz i think php automaticaaly add slashes in post varaiable?"