Skip to main content

nl2br

Short description

Inserts HTML line wraps before all line wraps of a string.

Description of this function

nl2br( string $_str  ) :

Examples

{%
	$_array = {"Id":"100","Name":"Couch Red","Price":"400 €"};

	if (array_key_exists("Price", $_array))
	{
		print("Der Artikel ".$_array["Name"]." kostet ".$_array["Price"]);
	}
%}

To top