Its syntax is: string nl2br (string string) <? $text_recipe = " A B V"; $html_recipe = nl2br ($text_recipe); print $html_recipe; ?>