Re: Writing output to multiple tables
| From: | Greg Wright | Date: | Sat, 16 Dec 2000 01:30:52 +0000 |
| Subject: | Re: Writing output to multiple tables | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30636@lists.php.net to get a copy of this message | ||
*********** REPLY SEPARATOR ***********
On 14/12/00 at 10:15 Daniel Convissor wrote:
>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.
>
Hi
I will explain a bit more....
I have table members with fields name address phone email etc etc
I want to pull one record at a time from each field and output it to a
table, so it will have the relevant info in a table by itself
If possible, maybe I will even set another field with info on drawing the
table, not sure if thats a good idea (I may have to on another page
display all info in a large single table
So, I have no examples of this, I have examples of pulling all data to one
table...., my pocket reference is not much help & I have not found other
books/CD's , websites seem best
Thanks for the input