Menu
after exec sql command (using php), i need to summarize the result. example like this :
result query
Name Debit
John 1000
John 2000
John 3000
Rudy 2000
Rudy 2000
Daniel 1000
Daniel 1000
Php Command get result like this
Name Debit
Daniel 2000
John 6000
Rudy 4000
How php script to get it ??