PDO: grouping results to indexed associative array
Ever wondered how to group database results by first column in PHP? It’s pretty simple with PDO.
by
sobstel
• May 2011