Re: Writing output to multiple tables
| From: | Daniel Convissor | Date: | Thu, 14 Dec 2000 15:15:40 +0000 |
| Subject: | Re: Writing output to multiple tables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30295@lists.php.net to get a copy of this message | ||
Greg:
> pull data from MySQL on a 1 record per table basis, then
> output a table displaying the results, then in a loop do the same for the
> next record in a new table and so on and so on...
Let's make sure we're talking about the same thing. You want to pull one row
from a table and display it. Then, go the next table and display a record
from it. Then go bcack to the first table and get it's next row, and on and
on. Now, are the records in the two tables related? And, do you want to
display the related information, or are you looking to just to display the
first record from each table even if they're not about the same thing?
You'll need to better explain what you're trying to do to get a real answer.
I suggest providing examples of what the database table structures and data
are plus an example of what you're looking to get.
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409