Okay, I've just answered my own question. There's a great guide to creating a Yahoo style directory with PHP and MySQL at webreference.com: http://webreference.com/perl/xhoo/php1/index.html Simon