Re: [PHP-DB] 2 while loops - 2 tables

2001-03-16 Thread olinux
l web development/design > www.ryanflynn.com - Original Message - From: "Ryan Flynn" <[EMAIL PROTECTED]> To: ""olinux"" <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 7:40 PM Subject: Re: [PHP-DB] 2 while loops - 2 tables > _

Re: [PHP-DB] 2 while loops - 2 tables

2001-03-16 Thread David
It is a little hard to advise on this without knowing the table schema, but it is generally best to make the database do as much of the work as possible rather than use logic in your script because databases are specifically optimized for what they do. If I were trying to do what you are talking

Re: [PHP-DB] 2 while loops - 2 tables

2001-03-14 Thread JJeffman
If the tables have a one to many relationship you can use nested while loops: while(1st loop){ // display header - master table while(2nd loop){ // display features - detail table } } HTH Jayme. -Mensagem Original- De: olinux <[EMAIL PROTECTED]> Para: PHP-DB <[EM