Hello,
I would like to develop an extension/plugin that adds data to the database.
I was considering using the file /scripts/BeforeInstall.php and removing them with the page /scripts/AfterUninstall.php
I can't figure out how to insert data. It's not writing the SQL that's the issue: "INSERT INTO template VALUE......;"
What function should I use? Do you have an example?
Thank you very much
I would like to develop an extension/plugin that adds data to the database.
I was considering using the file /scripts/BeforeInstall.php and removing them with the page /scripts/AfterUninstall.php
I can't figure out how to insert data. It's not writing the SQL that's the issue: "INSERT INTO template VALUE......;"
What function should I use? Do you have an example?
Thank you very much