l3szcz Posted June 22, 2023 Share Posted June 22, 2023 Hi, i'm trying to make module for WHMCS and i need create automatically database table after module activate (and drop table after de-activate). Have you some information how I can do this? 0 Quote Link to comment Share on other sites More sharing options...
0 pRieStaKos Posted June 23, 2023 Share Posted June 23, 2023 (edited) Addon activation sample already shows how to create a database table. https://github.com/WHMCS/sample-addon-module/blob/master/modules/addons/addonmodule/addonmodule.php#L146 Edited June 23, 2023 by pRieStaKos 0 Quote Link to comment Share on other sites More sharing options...
0 l3szcz Posted July 7, 2023 Author Share Posted July 7, 2023 Hi, thank you so much! 🙂 0 Quote Link to comment Share on other sites More sharing options...
Question
l3szcz
Hi, i'm trying to make module for WHMCS and i need create automatically database table after module activate (and drop table after de-activate). Have you some information how I can do this?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.