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.

  1. by sobstel • May 2011 • blog archive