get("New Category"); ?>
select('categories', [ 'catid', 'catname' ]); foreach ($cats as $cat) { $itemcount = $database->count('items', ['catid' => $cat['catid']]); ?>
get('category'); ?> get('item count'); ?> get('actions'); ?>
get("edit"); ?>
get('category'); ?> get('item count'); ?> get('actions'); ?>