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


Data Coming From Single Table

Thread began 10/01/2010 4:12 pm by MarkNewsom | Last modified 10/04/2010 9:48 am by Jason Byrnes | 860 views | 1 replies |


Data Coming From Single Table

I am using Ecommerce Templates PHP software which uses a MySQL database. My problem is that I have too many products on several sub-categories. When I use ECTs CSS menu system, the vertical fly out menu for the sub categories extends way off the screen due to having too many products under certain categories.

I thought by getting the Dynamic Drop-Down extension, I would be able to take the categories and sub-categories and populate down-downs since we all know that a drop-down list will automatically add a vertical scroll bar if its contents exceed the height.

The Getting Started Guide uses an example where you have to use two different tables. My problem is - All of my data is in one table so I am having trouble wrapping my mind around how I can have a Parent and a Child with one table. I have tried creating Record Sets and using the Filters to point to the specific places in the table for both the Manufacturer and the Model, but all I can accomplish so far is to populate the list with the categories and sub categories names and no linkage from one to another nor from the second box to the actual path it needs to point to.

Any idea of how I can tackle this?

Sign in to reply to this post

Jason ByrnesWebAssist

the key to dynamic dropdowns, whether using 1 table, 2 tables or more is creating your recordsets correctly.

the recordsets are where you create the parent child relationships.

The Create Dynamic Array behavior takes three pieces of data from your recordset:
Parent ID
Child ID
Child Name

The Parent ID is the column that is used to create the Parent to Child relationship. It will be used to compare the value coming from the parent select list.

The Child ID is the column that will be used for the value of the child list.

The Child Name will be used for the Label of the child select list.

Sign in to reply to this post

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...