Fixed issues with missing plugins

+ Had to add some extra functions to replace missing ones on our
school’s Linux machines. NOT COOL. New functions taken from the PHP
Manual: http://php.net/manual/en/mysqli-stmt.get-result.php