Thanks for your reply
>
> You don't show your SQL, but I assume it's something like
> SELECT grp,svc,mach FROM table ORDER BY grp,svc,mach
>
Thats right.
But its displaying the same as my code:
---
Group:Desktop
Service:BACKUP
AITSBKUP
Service:E-Mail
AITSMAIL
Service:E-Mail
JEEVES
Group:Unix
Se
"Sharif Islam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to caregorize to group at the same time, but its not working.
> Any hints?
> Here's my code:
> $temp="Dummy";
> while ($row = mysql_fetch_array($result))
> {
> if($temp !=$row["group_na