Sample PHP script for listing entries by category and user