Forum Moderators: coopster
Primarily, I have a list of several products with different brands. I want this brands displayed as the menu items. There are several same brands on the database but different sub-products.
This is what I have now:
<form>
<select onChange=ChooseLink(this) name="select">
<option value=selected>Search by Category
<option value="<?php $_SERVER['DOCUMENT_ROOT']?>/products_display.php?category_id=Accessories">Accessories
<option value="<?php $_SERVER['DOCUMENT_ROOT']?>/products_display.php?category_id=Bookcase">Bookcase
:
:
:
</select>
<noscript>
<input type=submit value=Go name="submit">
</noscript>
Err, what if I have 300 Category? So I need to read from the CATEGORY field, and display them, and establish the link to PRODUCTS_DISPLAY.PHP
I think I have explained this as best as I could. For any clarifications, please reply.
Again, thanks for the help.