Welcome Guest, Not a member yet? Register   Sign In
Basic Report output i can't get my head around
#1

[eluser]TornUp[/eluser]
Hi All!

Going to sound really n00b like and ask for some help in a query/output I'm trying to-do.

im currently producing an electronic phone list in CI, all users are stored in a tables with the following layout:

Users
Code:
id
Name
PhoneExt
DirectDial
Location (links to location->id)


Location:
Code:
id
Title


Now what I am trying to achieve is the following:


New York:
John Smith
Fred Jones
Katie bing

London:
Emma flop
Andy Flip

and so on, and so on....

can someone help me getting my head around the MySql query/passing it to the view via the controller.

I see it done all the time, but the concept confuses me! Sad

Many Thanks

Tom Kirby.


Messages In This Thread
Basic Report output i can't get my head around - by El Forum - 07-22-2010, 04:30 AM
Basic Report output i can't get my head around - by El Forum - 07-22-2010, 05:24 AM
Basic Report output i can't get my head around - by El Forum - 07-22-2010, 07:55 AM
Basic Report output i can't get my head around - by El Forum - 07-22-2010, 09:42 AM
Basic Report output i can't get my head around - by El Forum - 07-23-2010, 12:45 AM
Basic Report output i can't get my head around - by El Forum - 07-23-2010, 12:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB