Re: Excluding records from repeat region in PHP
- From: coolsti <coo@xxxxxxxxxx>
- Date: Fri, 29 Apr 2005 12:56:01 +0200
> This will work even if there are many more fields in your products table
> that you also wish to show.
>
> - steve
Another thought, now that I just read what I sent: If my post above is the
solution you seek, then the important thing here is you can save yourself
an enormous amount of effort and code lines by having the database do as
much as possible for you, rather than the PHP code.
You should do this whenever possible. But don't forget that when things
get complicated with lots of joins, you should analyze the queries to
locate slow queries (joins can produce big intermediate results), and add
the appropriate indexes when needed. Amazing, what difference this makes.
- steve
.
- Follow-Ups:
- Re: Excluding records from repeat region in PHP
- From: duncan . lovett
- Re: Excluding records from repeat region in PHP
- References:
- Re: Excluding records from repeat region in PHP
- From: coolsti
- Re: Excluding records from repeat region in PHP
- Prev by Date: Re: Excluding records from repeat region in PHP
- Next by Date: Re: Excluding records from repeat region in PHP
- Previous by thread: Re: Excluding records from repeat region in PHP
- Next by thread: Re: Excluding records from repeat region in PHP
- Index(es):
Relevant Pages
|