I'm trying to execute this query in my PHP script but, when it execute, the QTY value isn't inserted. I've tried to execute the same query in phpmyadmin and no errors occurs.
$query2="INSERT INTO var_sin (ID_S, ID_V, QTY) VALUES ('$last_id', '$variabili[$i]', '904561615')"
If someone could help me thx, I really cannot understand what's wrong