Update obj_packages.php

Upgrading from mysql to MySQLi.