What is meant by nl2br()?
Answers were Sorted based on User's Feedback
Answer / sonal
Returns string with '<br />' inserted before all newlines.
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / ram
The nl2br() function inserts HTML line breaks (<br />) in
front of each newline (\n) in a string
Syntax: nl2br(string)
<?php
echo nl2br("One line.\nAnother line.");
?>
output: One line.
Another line.
| Is This Answer Correct ? | 11 Yes | 1 No |
m new to xampp i want to configure file server in xampp... is it possible ??? if so help me....
What is prepare in php?
explain php variable length argument function.
How many keywords are there in php?
Which function would you use to replace a record in a database in php?
How to write php function in html onclick?
What is advanced php programming?
What is T_PAAMAYIM_NEKUDOTAYIM?
Why do we use in php?
what is output of echo 1< 2 and echo 1 >2
8 Answers HCL, Navigators Software,
difference of move(), and copy() function in php?
Which is variable cost?