I am trying to integrate a PHP plugin with my web app, but I am stuck with storing the values that I receive from an XML file to a table in my database.
This is what I have so far, but when I run the PHP script it does not save to the database. I have created a table in my database with one column (type=text, name=test)
global $mysqli;
$str = serialize($Items);
printF($str);
$result = $mysqli->query("INSERT INTO nepremicnine (test) VALUES ('$str');");
('$str');");