Loading...

Posts by tag: php

PHP Generate a UL menu from an array

UL | array | menu | Recursive function | PHP

PHP Generate a UL menu from an array

Take an array and build a menu UL list from it. The array should support top-level as well...

David Carr

3 min read -

Use PHP to generate table of contents from heading tags

toc | PHP

Use PHP to generate table of contents from heading tags

I wanted to create a table of contents from the post's heading tags automatically without...

David Carr

1 min read -