[TASK] Changed mysql to mysqli
[TASK] Changed error to Object Oriented style
[FIX] Fixed variable not set error
[TASK] Changed mysql to mysqli
Merge pull request #2 from mirage-nl/master

Changed mysql to mysqli