Si. addslashes aggiunge i \ davanti a ' e " per ovviare i problemi che avresti quando crei la stringa di una query insert. stripslashes li rimuove.