Drill down interface for mysql, php, and javascript