Re: Create a Report
| From: | David Robley | Date: | Wed, 09 Jul 2003 11:19:57 +0000 |
| Subject: | Re: Create a Report | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154521@lists.php.net to get a copy of this message | ||
In article <20030709072226.68848.qmail@pb1.pair.com>, cavagnaro@jalyn.net
says...
> I'm using MySQL and PHP for building a website, however now I need to create
> a report with something like this:
>
> -------------------------------------------------
> {Title}
> {Description}
>
> {Zone1}
> Detail Zone1.Topic1
> DetailZone1.Topic2
> DetailZone1.Topic3
>
> {Zone2}
> Detail Zone2.Topic1
> DetailZone2.Topic2
>
> {Zone3}
> Detail Zone3.Topic1
> DetailZone3.Topic2
> DetailZone3.Topic3
> DetailZone3.Topic4
> -------------------------------------------------
>
> I have 2 tables named Zone1 and Zone1detail where I do a join to get values
> I need. How ever don't know how to make something like this.
>
> Can anyone help? Thanks in advance
Depends on how you have structured your tables. There should be a common
field between the tables on which you can join.
--
Quod subigo farinam
$email =~ s/oz$/au/o;