I've designed a database structure where I want to use foreign keys to link several tables, but I'm not sure how to do it with phpLiteAdmin.
I searched other posts and got an error "ERROR: near "db": syntax error" when I tried "db.execute("PRAGMA foreign_keys = ON")". I am not sure where to put this db.execute (in the database or the table - tried both) or whether the program even has foreign key capability.
Please help and let me know whether and how I can use foreign keys.