[Solved] Line break gets replaced with rn in php


Try removing any stripslahes(). Stripslashes removes any backslashes and forward slashes. For example, line breaks are being sent as \n or \r and the stripslashes() takes away the backslashes in those, so that’s why it says ‘rn’.

I had this very problem, and this solution helped me. Good luck!

1

solved Line break gets replaced with rn in php