- <?php
- echo nl2br("New line will start from here\n in this string\r\n on the browser window");
- ?>
New line will start from here in this string on the browser window
- <?php
- echo "One line after\n another line";
- echo " One line after\r\n another line";
- ?>
One line after another line One line after another line
No comments:
Post a Comment