Welcome Guest, Not a member yet? Register   Sign In
changing the tables acccording to my needs
#1

[eluser]mady[/eluser]
Hi friends,

I have a 2 different user types :

one type using the tables:

auth1
user1

and another one with:

auth2
user2

Note: Eventhough auth table columns looks same, but am in a situation to use authentication seperately.


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(user1)
{
config(auth1.php);
}
else
{
config(auth2.php);
}



Thanks,
#2

[eluser]Glazz[/eluser]
Creating two topics for the same subject is not a good thing.

How are you getting the user type ?

It is stupid IMO to use two different tables, if you have two different types of users just use Groups like InsiteFX told you to.

But without seeing any code it's not easy to help you..and next time use only 1 ( ONE ) topic if the subject is the same.

- g l a z z




Theme © iAndrew 2016 - Forum software by © MyBB