NomisCZ / hlstatsx-community-edition

HLstatsX Community Edition - PHP 7 and GeoIP2 supported
GNU General Public License v2.0
83 stars 50 forks source link

Changing mysql to mysqli #49

Closed andrepiresrep closed 4 years ago

andrepiresrep commented 4 years ago

Changing $numitems = mysql_num_rows($resultCount); to $numitems = mysqli_num_rows($resultCount); to contemplate the new mysqli* function calls existent on newer php versions, as this function was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0 See https://www.php.net/manual/en/function.mysql-num-rows.php for more info on this function.