כמו ששי כתב בהודעה מעלי, mysql_real_escape_string מוסיף קו נטוי (slash) לתווים \x00, \n, \r, \, ', " \x1a. ו-addslashes מוסיף קו נטוי רק למרכאות.