I’m using sqlite to save my data. I can’t get my score to save.
Were I have …bestScore…, I’ve tried it without the dots(…) and it still doesn’t work.
How do I do it?
if bestScore \< score then
bestScore = score
print("new highscore"..bestScore )
db:exec[[
UPDATE gamestats SET content2=..bestScore.. WHERE content='level1score';
]]
end
Thanks,
Dan [import]uid: 78446 topic_id: 14688 reply_id: 314688[/import]
