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 |
how can i find number of rows in a table using MS Access and php? i used odbc_num_rows($query); but it returned -1.
What is orm in php framework?
Which php framework is best for security?
What is $_ server request_method == post?
what is the difference between ph4 and php5
What are the features and advantages of object-oriented programming in php?
Can I run php without xampp?
How do you define a constant?
What software is required to run php?
What is a base url?
Do you know what are traits?
What is the meaning of xdebug?