Search found 26 matches

by acellec
Thu May 17, 2012 6:05 pm
Forum: PHP coding => General
Topic: Group Records in While Loop
Replies: 4
Views: 1412

Group Records in While Loop

Can you help me please.. I have an sql query where the result is like this Projet Name Nature Amount Project1 infra 100 Project1 noninfra 200 Project2 infra 500 I want to group by project name in my while loop, display project name once if has more than 1 and sum the amount of all records with the s...