Forum Moderators: coopster
Data from tableA FURNITURE loaded in to menu 1:
ie, tables, chairs, beds etc
on selection of beds the data from tableB finds all beds and list them into menu 2
ie, 4poster, divan, single etc
I do not know if this can be done with PHP?
or if it has to be with Javascript?
Any help would be gratefully excepted and will probably be from a genius!
if you want an expanding menu on the user's click without reloading the page, you need to create the complete menu on page request and then show/hide submenues on layers with javascript.
if clicking on a menu entry will query a new url/page, then you won't need javascript for this.
tip: if you don't want to stress you db only for the menu and the menu isn't that big, take a look to multi dimensional arrays in php, maybe this is faster and more easy to develop and edit.
-hakre