PDO: select with Foreach