How to add carriage written in php?

Discuss How to add carriage written in php? in the PHP Development forum on Dev Articles. How to add carriage written in php? PHP Development forum to discuss anything related to developing applications in PHP. Topics include architecture, coding standards, and debugging methods.

Depending on precisely what you want, you can use \n or \r. I think Windows returns come across as \r\n. On Linux systems, if you're writing to a file and need to insert a line break, you can usually get by with just inserting \n.