Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

This is basic stuff, but..(multidimensional array count)

$
0
0

Hi,

 

I'm trying to figure out the following. I know it must need a nested loop, I just can't figure out quite the way to do it, so any help would be superb.

 

My MySQL db has a list of incidents that a servicedesk team take in any given month. It outputs, among others, incident_number, logged_by and resolved_by.  The logged_by is, of course, an individual member of the servicedesk. That person MAY resolve the incident himself, so he MAY appear in the resolved_by field too.

My aim is to get the following:

 

SD member 1, calls logged, calls resolved.

SD member 2, calls logged, calls resolved.

etc

 

Can someone help, please?


Viewing all articles
Browse latest Browse all 13200

Trending Articles