No closing php tag at the end of class files
Make use of prepared statements