Re: Looping twice.
| From: | (Stas Trefilov) | Date: | Sat, 13 Jan 2001 17:28:59 +0000 |
| Subject: | Re: Looping twice. | ||
| References: | 1 | Groups: | php.db php.db |
| Request: | Send a blank email to php-db+get-5876@lists.php.net to get a copy of this message | ||
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