I've been trying to update an old php/mysql form to update data to database. so far, its been crazy. I have gotten passed the errors of getting in the server and database, now I am having another issue that I cannot solve.
The error:
Fatal error: Uncaught ArgumentCountError: mysqli_query() expects at least 2 arguments...on line 153
Here are lines 153 - 160 :
If(!mysqli_query($query))
{
echo "Error adding the comments to the DB." . mysqli_error();
mysqli_close($dbconnect);
exit();
}
else
{