Sorry, line 18 should be:
Main Topics
Browse All TopicsI have been able to create simple reports in mySQL.
Visit Date Client Name
1/1/2009 Joan Davis
1/20/2009 Alice Bates
Etc.
I need to see an example of how to use mySQL/php code to create a report where I can illustrate related records.
I have db: Client, Intake, Visits. Client <-- --> Intake <-- --> Visits
ClientID is common to Client and Intake, IntakeID is common to Intake and Visits.
Client can have 1 to many intakes. Each intake can have one to many visits.
Result I'd like to report...
Client Intake Visits
Nancy Moynan
01/25/08 xxx
Visit1 01/25/08
Visit2 02/15/08
Visit3 04/30/08
01/04/09 zzz
Visit1 01/04/09
Visit2 02/22/09
Client Intake Visits
Jane Simmons
01/26/09 yyy
Visit1 01/26/09
Vist2 03/15/09
and so on.
Thanks,
Robert
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ping cxr: Do you know about windows directory permissions? Maybe you can help over here.
http://www.experts-exchang
Best regards, ~Ray
I think http://a24512203 was correct.
Sorry, this is the correct link: http:a24512203
....eh.... like this, then: http:#a24512203
Business Accounts
Answer for Membership
by: cxrPosted on 2009-05-31 at 04:19:07ID: 24512181
You need to keep track of the current client and the current intake. Try something like this:
Select allOpen in new window