Fix issue #119

Replaced PHP 5.5 deprecated functions with their supported counterparts via MySQLi. Fixes issue #119 (https://github.com/TheHostingTool/TheHostingTool/issues/119)