close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Display Sub-Categories according to chosen Main Category

Thread began 10/10/2013 2:30 pm by joerg431091 | Last modified 10/16/2013 9:49 am by joerg431091 | 2206 views | 10 replies


Hi Jason,

I have a follow up question and was hoping you could point me in the right direction:

Everything works great now that once clicked on the main navigation, the product_results.php page shows the sub categories of that particular main category that are stored in the DB.

Those sub-categories are displayed in the products_results.php page in a single recordset row using a repeat section as such:

<div class="general-block-list">
<ul class="categories">
<?php do { ?>
<li><a href="#"><?php echo $row_Recordset2['SubCatName']; ?></a></li>
<?php } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2)); ?>

So there might be 5 sub-categories shown for example. What I can't figure out is how to address the links to those individual sub-categories since I only have that one row of code.

II found a tutorial about dynamic menu navigation on webassist. Would this be a solution or is there any other way I can do this.

Thanks again for your help,


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...