You got to have 2 tables: SubAreas (list of your areas) and Names, each having a link to SubAreas. First select subarea(s) from the 1st table, then select all corresponding names from the 2nd. No excessive operations. -- Piloteers do it on the road -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-DB] Looping twice. Thom Dunaway
- Stas Trefilov