You have an SQL syntax error:
INSERT INTO ".$db_table_prefix."items (
iname,
VALUES (
?
)
This should be:
INSERT INTO ".$db_table_prefix."items (
iname)
VALUES (
?
)
Because of syntax error the $stmt object isn't created, hence the error Call to a member function bind_param() on a non-object
.
Always output MySQL error messages if you have problems:
echo $mysqli->error;