i have this in my script:
$db->q("INSERT INTO 'keys' (key,grupo,dias) VALUES ('$key','VIP',$love);");
which generates sql like this
INSERT INTO 'keys' ('key','grupo','dias') VALUES ('35F3','VIP',28)
but i get
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''keys' ('key','grupo','dias') VALUES ('35F3','VIP',28)' at line 1
I'm adding screenshot of my table's structure: https://i.stack.imgur.com/luKfm.png
Thanks for ur help!