When attempting to insert the initial row for a table that will track daily views, I am getting the error:
Fatal error: Call to a mem
The problem was user error: I had the name of the result column wrong.
result
This was uncovered when I added echo $mysqli->error; after the line $stmt = $mysqli->prepare($sqlquery); which revealed the column-name error.
echo $mysqli->error;
$stmt = $mysqli->prepare($sqlquery);