Switching while loops to foreach loops for PDO
PDOOOOOO Livessss