close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Detailed info on creating dynamic menus

Thread began 1/10/2011 9:40 am by webdesignfreebies311292 | Last modified 1/10/2011 1:46 pm by webdesignfreebies311292 | 1227 views | 1 replies

webdesignfreebies311292

Detailed info on creating dynamic menus

I need more detailed info on Creating Dynamic Menus. Your tutorials do not do a very good job of explaining this to the novice user. This is my MySql database:

CREATE TABLE IF NOT EXISTS `main_menu` (
`id_menu` int(11) NOT NULL AUTO_INCREMENT,
`parentID_menu` int(11) NOT NULL,
`label_menu` varchar(100) NOT NULL,
`link_menu` varchar(100) NOT NULL,
`target_menu` varchar(10) NOT NULL,
`highlight_menu` varchar(10) NOT NULL,
PRIMARY KEY (`id_menu`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


INSERT INTO `main_menu` (`id_menu`, `parentID_menu`, `label_menu`, `link_menu`,
`target_menu`, `highlight_menu`) VALUES
(1, 0, 'Home', '#', '_self', '1'),
(2, 0, 'Accessories', '#', '_self', '2'),
(3, 0, 'Products', '#', '_self', '3'),
(4, 0, 'Contact', '#', '_self', '4'),
(5, 2, 'Accessory1', '#', '_self', ''),
(6, 3, 'Product1', '#', '_self', ''),
(7, 3, 'Product2', '#', '_self', '');

I'm not sure how to set the sort and filter to get the results I need. I need to know how to sort and filter the top level of the menu as well as the second level and the third once it's been added to the database.

Any help you can give me with this issue would be greatly appreciated.

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

Content

rating

Layout

rating

Ease of use

rating

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