Can anybody tell me how I can replace newline character in a string to '<br/>' ?
nl2br()
could also use preg_replace()