Im trying to run this query
("INSERT INTO units SET id="+toID+" AND num="+number+" AND unit_id="+type+"")
this is the log
[2014-05-13 13:09:51] Running query: INSERT INTO units SET id=3 AND num=10 AND unit_id=1
these values are never inserted, it defaults to 0. It only happens on insert queries, i can select fine.
It inserts fine from a php script, however im using Kumulos KScript to run these queries, all have worked fine apart from this one.
Is there a setting on the table that i have missed or something?
Any suggestions?
Many Thanks, Paul.