Birisi PHP manuel, bu 2 fonksiyonları arasındaki farklar hakkında biraz ışık tutabilir
addslashes: Returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote ('), double quote ("), backslash () and NUL (the NULL byte).
mysql_real_escape_string: mysql_real_escape_string() calls MySQL's library function mysql_real_escape_string, which prepends backslashes to the following characters: \x00, \n, \r, \, ', " and \x1a.
i toplamak ne büyük fark x00 \ olan \ n \ addslashes kaçış yok r \ hangi x1a, bu önemi nedir bana söyleyebilir?
teşekkürler