Tag: PHP functions

String Function in PHP

nl2br(): The nl2br() function adds the tag if it finds the carriage return (n) in the text. If you text is long and at many places carriage return is present, even then the nl2br() tag will replace all the occurrence of the carriage return with tag. Here is the syntax of the nl2br() tag: [php] …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/08/string-function-in-php/