hi,
could anyone point me to a tutorial or any help on having users see their own contacts only?
basically have a contacts database and want to have it so the agents login and can see their contacts only but admin can see alll and add notes to?
any help please.
many thanks
andy
users see only their contacts
Moderator: General Moderators
Re: users see only their contacts
Hi,
you should use sessions:
http://us.php.net/manual/en/reserved.va ... ession.php
than you have to estabilsh database with user a and permissions ( I recommand two tables users and perrmissions).
Your user will have to log in and then you can get his role throught $_SESSION['somethink'].
Everythink clear?
Bye
you should use sessions:
http://us.php.net/manual/en/reserved.va ... ession.php
than you have to estabilsh database with user a and permissions ( I recommand two tables users and perrmissions).
Your user will have to log in and then you can get his role throught $_SESSION['somethink'].
Everythink clear?
Bye
Re: users see only their contacts
thanks for the help.