I\'ve seen many developers use different methods to split a string by new lines, but i\'m confused which is the correct: \\r\\n OR \\n only?
\\r\\n
\\n
For php, \n should work for you!
http://php.net/manual/en/language.types.string.php