php - how to allow multiple or sub accounts in codeigniter using ion auth

534

i have created a website which allows user to register and pay subscriptions. I have 3 user groups, comprising of admins, editors and common members. i want when a member joins, they can be able to add child-accounts to their account which will get all the benefits their parent account. My tables are currently the generic ion auth tables with a little tweaks to match my requirement when joining and login in. Please help me with how best i can achieve this. perhaps the the workflow:

My current worklow follows this pattern:

select package>fill up the registration form>confirm selected package or change>make payment> but user cannot create child accounts.

People are also looking for solutions to the problem: What is the best way to convert a string to time in php?

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.