In my extension (it's the first one I'm writing) I have the need to create a new DB table and to manage it (insert, update, delete records). How can I do it? Thanks Marcello
Check this section on the wiki: https://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Module+Extension#CreateaModuleExtension-Addadatabaseupgrader/Installer/uninstaller You will need to add an upgrader to your extension, and from that upgrader you can manage your database file installs. Also, you might want to add a DAO class?