[FIX] mysql is deprecated as of PHP 5.5.0

Updated with Mysqli