Today, web pages are very flexible, and are used in more places than just the Internet. Many corporations use web pages to create an easily updateable intranet without the hassle of software deployment, bug fixes, etc that come with installing a typical desktop application. Most corporate intranets are created to take full advantage of the built-in scripting and DHTML capabilities of Microsoft Internet Explorer.
In this article I will show you how to create a dynamic menu system, which is driven by a simple PHP script and some JavaScript. It uses a MySQL database to store its menu items, and is compatible with Internet Explorer version 5 and above.
To test the source code for this article (downloadable from the last page), you should have either a Windows 2000, Linux, or Unix server setup to run PHP. This server should also have the latest version of MySQL installed.