Home » Demos » PHP demo for the Dynamic menu tutorial

Demo for the dynamic PHP menu tutorial

The unordered list below is generated by the code used in the tutorial. Click the main items (Job groups) to make the sub-items visible.

We created some data using links from the freelancer.com website. If you like, you can download the PHP example files here. We created also a second menu (the example function is included in the download file) which shows all sub items, to get this effect we removed the code $pkey == $_REQUEST[$qs_val] && from the second foreach loop and the if statement if (!empty($_REQUEST[$qs_val])).

Example (orig. script)

Click here for the PHP tutorial: dynamic menu in PHP