Tidy up quote marks
Use PDO instead of MySQL

Apparently it's better