Category Archives: Web & Database Design

A PHP class to build parent child arrays from a flat array or database query results.

I am currently developing using Kohana 3.2 PHP Framework incorporating Mustache Templates and the Twitter Bootstrap with LESS CSS and loving it. I recently wrote this simple php class to convert a flat array with id and parent_id keys into a multi-dimensional array where parents have a `children` key with children in a sub-array. class [...]

Posted in Web & Database Design | 2 Responses

Single Query Dynamic Multi-level Menu

Dynamic Multi Level Menus using only a single query. This is a simple PHP function that pulls a Multi-level menu from a MySQL table. You can easily adapt to any CSS style.

Posted in Web & Database Design | Tagged , , , , , , , , , | 47 Responses

Ebay style search menu with category totals count displayed.

A simple light weight & efficient search menu that includes a count of the total items within each option. This can be customized for any needs.

Posted in Web & Database Design | Tagged , , , , , , , , , | 3 Responses

Dynamic Multi-level CSS Menu with PHP and MySQL. SEO Ready.

SEO Ready Dynamic CSS Menus. This is a simple PHP function that pulls a Multi-level menu from a MySQL table. You can easily adapt to any CSS style.

Posted in Web & Database Design | Tagged , , , , , , , , , | 46 Responses