phpmady Posted March 25, 2012 Share Posted March 25, 2012 Hi friends, I have a 2 different user types : one type using the tables: gold_auth gold_user and another one with: silver_auth silver_user I assume that changes in config table like the following can do a trick for me. How to handle the user type: can i do some thing like this: if(gold) { config(gold_auth.php); } else { config(silver_auth.php); } Thanks, Link to comment https://forums.phpfreaks.com/topic/259682-codeigniter-using-ion-auth/ Share on other sites More sharing options...
scootstah Posted March 26, 2012 Share Posted March 26, 2012 I think it would be better to only have one user table and then have a group table which decides if the user is gold or silver. Link to comment https://forums.phpfreaks.com/topic/259682-codeigniter-using-ion-auth/#findComment-1331245 Share on other sites More sharing options...
phpmady Posted March 26, 2012 Author Share Posted March 26, 2012 Hi, Actually one table have more records(100k), and another table have few number of records(200), thats the reason we have designed the schema. so pls help me to make ion auth for 2 diffrent groups thanks Link to comment https://forums.phpfreaks.com/topic/259682-codeigniter-using-ion-auth/#findComment-1331274 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.