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

DigitalOceanSSD Cloud Server from $5/month by DigitalOcean, simple cloud hosting, built for developers. Receive $10 in credits »
ServerPilotServerPilot is the best way to run WordPress and PHP sites on your DigitalOcean servers. First month free »