<?php my $username = $system->db->selectrow_array('SELECT users.name FROM defaults,users WHERE defaults.category_id = ? AND defaults.user_id = users.id',undef,$system->param('category') || '0'); ?>