Welcome Guest, Not a member yet? Register   Sign In
Initialisation of the Database
#1

Hi! I would like to implement an installation routine.
When my default controller is started, it should invoke a function that create if needed the tables in my database...

The question is where do I put (best practice) the function? In the main controller? In a model? I tried in an Helper but got issues with the db->table_exist()
Reply


Messages In This Thread
Initialisation of the Database - by maquejp - 09-08-2015, 03:32 AM
RE: Initialisation of the Database - by InsiteFX - 09-08-2015, 03:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB