18.06.2024, 12:16
Try this:
Code:
nameparam = dbcon:escape('NameX')
valueparam = 1000
dbcon:execute("INSERT INTO test (name, value) VALUES ('" .. nameparam .. "', " .. valueparam .. ")")