Echo New Line in PHP
<pre><code>&lt;?php
include 'db_connect.php';
$q = mysql_real_escape_string($_GET['q']);
$arr = explode ('+',$q);

foreach($arr as $ing)
{
echo $ing;
echo "&lt;br/&gt;";
}

mysql_close($db);

?&gt;
</code></pre>

<p>Calling:</p>

<pre><code>findByIncredients.php?q=Hans+Wurst+Wurstel
</code></pre>

<p>SourceCode HTML:</p>

<pre><code>Hans Wurst Wurstel&lt;br/&gt;
</code></pre>

<p>Why is there only one NewLine?</p>
