|
Home All Articles Contact Zawgyi Myanmar Font |
|
Home >> Snippet List >> Snippet Name BR2NL Function - Opposite of NL2BRDescription Simple way to do the opposite of what the nl2br() function does- turns breaks () into new linesPHP Snippet FUNCTION br2nl($string){ RETURN PREG_REPLACE('#<br\s*?/?>#i', "\n", $string); } |
|
All photograph,logos, articles, comments and trademarks etc, in this site are property of their respective owners.All the rest (c) 2006 by PhpMyanmar.com. |