Describe the bug
mysql_num_rows should be replaced by mysqli_num_rows
To Reproduce
Steps to reproduce the behavior:
Go to search in this repo put mysql_num_rows and see files have mysql_num_rows
i was have errors in error.log of hlstats
2020/01/30 13:50:45 [error] 9509#9509: *350 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysql_num_rows() in /pages/dailyawardinfo.php:145
Stack trace:
0 /hlstats.php(224): include()
1 {main}
thrown in /pages/dailyawardinfo.php on line 145" while reading upstream, client: 54.36.149.25, server: hlstats.example.com, request: "GET /hlstats.php?mode=dailyawardinfo&award=972&game=l4d2&page=15 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "hlstats.example.com"
Describe the bug mysql_num_rows should be replaced by mysqli_num_rows
To Reproduce Steps to reproduce the behavior:
2020/01/30 13:50:45 [error] 9509#9509: *350 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysql_num_rows() in/pages/dailyawardinfo.php:145
Stack trace:
0/hlstats.php(224): include()
1 {main}
thrown in/pages/dailyawardinfo.php on line 145" while reading upstream, client: 54.36.149.25, server: hlstats.example.com, request: "GET /hlstats.php?mode=dailyawardinfo&award=972&game=l4d2&page=15 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "hlstats.example.com"
Environment