Hi,
I'm by no means an expert in php but I use and continually try and figure out how to update some very old soccer stats scripts that break from time to time when newer versions of php are released.
Anyway, I would appreciate any pointers with this error please:
Warning: mysqli_query() expects parameter 3 to be integer, object given in /blah/blah/blah.php on line 81
The code is:
79 - mysqli_query($connection,"INSERT INTO seasons SET
80 - SeasonID = '$seasonid',
81 - SeasonPlayerID = '$player_id'",$connection)
82 - or die(mysqli_error($connection));
Server is running php 7.2.28
Thanks in advance.