Edited to pass JSHint/Lint (and directives for JShint/Lint)
- most visible change: tabs->spaces
- no *functional* changes
use PDO::FETCH_ASSOC;
will halve the amount of memory that $rows uses
reduce network transport by ~half as well
remove extra whitespace