switching from mysqli to PDO (so much better!!)