The generated list is quite long even when split into the different manufacturers, what I want to know is it possible to make the generated list split into different div columns? Is it possible to get the outputted list to spread itself across 4 div columns?
I'm using the following code
Code:
<?php
$manufacturers1 = $db->Execute("SELECT manufacturers_name FROM zen_manufacturers WHERE manufacturers_id = '1'");
$unique_model1 = $db->Execute("SELECT DISTINCT pd.products_model_number, p.manufacturers_id FROM " . TABLE_PRODUCTS_DESCRIPTION . " pd LEFT JOIN " . TABLE_PRODUCTS . " p ON pd.products_id = p.products_id WHERE p.manufacturers_id = '1' ORDER BY pd.products_model_number ASC");
?>
<?php echo '<h3>'.$manufacturers1->fields['manufacturers_name'].' Some text here:</h3>'; ?>
<ul id="list" class="model-list">
<?php
echo "<br /><br />";
while (!$unique_model1->EOF) {
echo '<li class="list-item"><a href="http://webdomain.co.uk/index.php?main_page=advanced_search_result&search_in_description=1&keyword='.$unique_model1->fields['products_model_number'].'" alt="alt name" /><font color="#0099cc">'.$unique_model1->fields['products_model_number'].'</font></a></li>' . "\n";
$unique_model1->MoveNext();
}
?>
</ul>