> 1. pull a list of products from the database > 2. truncate each product id down to it's first letter > 3. remove all the duplicates > 4. use this list to build the links.
I would let sql do some of the work. select count(*) from products where product_name like 'A%' if count does not return 0 you have products that start with A -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php