siddscool19 Posted September 14, 2008 Share Posted September 14, 2008 Can anyone tell me the use of carriage return? And also please tell me the place from where to know about such things like \n \r etc. in detail Link to comment https://forums.phpfreaks.com/topic/124205-use-of-carriage-returnr/ Share on other sites More sharing options...
Mchl Posted September 14, 2008 Share Posted September 14, 2008 Here you go: http://en.wikipedia.org/wiki/Newline And list of all escape sequences in PHP http://www.php.net/manual/en/language.types.string.php Link to comment https://forums.phpfreaks.com/topic/124205-use-of-carriage-returnr/#findComment-641279 Share on other sites More sharing options...
genericnumber1 Posted September 14, 2008 Share Posted September 14, 2008 In an idealistic implementation \r returns the cursor to the beginning of the line, while \n returns the cursor to the beginning of the next line. Of course, their true action is dependent on the implementation. Link to comment https://forums.phpfreaks.com/topic/124205-use-of-carriage-returnr/#findComment-641280 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.