still stuck with this what seems to be simple. I have stored a bunch of websiteslinks per category and i want them to be displayed over x columns and the category section to be displayed once. this should make a list over 1 column. $category = ''; foreach ($links as $link){ $catName = $link['linkCat']; $linkName = $link['linkTitle']; $linkURL = $link['linkHREF']; if ($catName != $category) { //show heading $category = $catName; $msg .= "<div class=\"category\">"; $msg .= "<strong>".ucfirst($category['name'])."</strong>"; $msg .= "<br />"; $msg .= "</div>"; }//end heading $msg .= $linkName; $msg .= '<br />'; } PHP: any suggestion
this looks promising hope it even works in IE6 http://welcome.totheinter.net/columnizer-jquery-plugin/