how to make implode create <br /> automatic after displaying 5 things in a row?
<p>I want to make implode to display only 5 arrays after that it automatic creates a new row displaying 5 arrays again and it keep repeating itself. like is it possible to use  <code>&lt;br /&gt;</code> or something else I had to use to do that?</p>

<pre><code>$result = mysql_query("SELECT * FROM `im_album` WHERE username = '".$user_data['username']."'  ");
$types = array();
$d_array = array();
while(($row =  mysql_fetch_assoc($result))) {
    $types[] = $row['name'];
    $d_array[] = $row['description'];
}
echo "&lt;h1&gt;".implode($types )."&lt;/h1&gt;"
</code></pre>
