Multiple database with single application in php and codeigniter

Posted by ASD on Stack Overflow See other posts from Stack Overflow or by ASD
Published on 2010-05-04T17:56:36Z Indexed on 2010/05/04 19:58 UTC
Read the original article Hit count: 139

Filed under:
|

I've developed a website in php codeigniter with the idea of using single physical instance of the code.

Here the logic i wanted to be is on login page user will chose the companyid which will be internally to the database name. I want to know how to update the active_group variable according to the company id chosen by the user at the time of login.

Is there any way to do so.

© Stack Overflow or respective owner

Related posts about php

Related posts about codeigniter