My instructor set us up with some default framework that we're supposed to use to develop a database/website project. We're using Twig, and I'm not sure how to execute an INSERT within a Twig file, but the answer seems to be: you can't
We're supposed to, on the click of a link, insert something into the database. How can I achieve this? I'm not sure how to begin, and similar questions I've found so far just have answers with links to various twig documentation sites without any particular direction article wise, so I'm wondering what the way to achieve this is...