Welcome to PHPMenus.com!
PHPMenu is an easy to use menu system for PHP that makes it easy to create complex menu systems.
Here is a quick overview of its features.
- Extremely simple to use yet has advanced features
- Does not require javascript or PHP sessions
- Fully compliant CSS and HTML markup
- Unlimited number of submenu levels
- Automatically keeps track of where the user is in the navigation menu between page requests
- Infinitely stylable using standard CSS
- Supports javascript events
All menus on this web site are created using only a few lines of PHP code using the PHPMenus library.
All the code required for a simple, four-button menu is:
Code:
$menu = new Menu();
$menu->AddMenuItem(new MenuItem("Start", "index.php"));
$menu->AddMenuItem(new MenuItem("Features", "features.php"));
$menu->AddMenuItem(new MenuItem("How to use", "howtouse.php"));
$menu->AddMenuItem(new MenuItem("Purchase", "purchase.php"));
$menu->DrawMenu();
The download includes plenty of samples to help you get started. You won't find a simpler solution for creating dynamic website menus!