- Solved issue 2; now using PDO