Warning: Undefined variable $nextoppid in /home/englandstats/englandstats.com/fixtures.php on line 166

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by mid DESC' at line 1 in /home/englandstats/englandstats.com/fixtures.php:166 Stack trace: #0 /home/englandstats/englandstats.com/fixtures.php(166): mysqli->query('SELECT mid, dat...') #1 {main} thrown in /home/englandstats/englandstats.com/fixtures.php on line 166