Martin Lang wrote:
> I could make two recordsets (No1: SELECT main_text etc.
WHERE
> main_number < 3 goes into content, No2: SELECT
main_text etc. WHERE
> main_number > 2 goes into sidebar). Is there any
advantage to use that
> instead of the php-commands?
I see what you mean. I suspect that the difference in
performance would
be minimal. One advantage of doing it with PHP is that you
need only one
trip to the database. MySQL is extremely fast, particularly
with simple
queries, but if you're on a busy shared server, it's possible
that there
could be a delay in getting the second database result.
--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/