At 8:07 PM + 6/29/10, Carlos Sura wrote:
Thank you for your answer Ted, You are right, well, I do have my
login form, but what I do not understand is how to implement switch
statement.
switch ($level){
case 0:
include ("admin.php");
break;
case 1:
include ("sales.php");
break;
case
_elensule
- Original message -
From: Carlos Sura
To: an...@oire.org
Date: Tuesday, June 29, 2010, 11:13:08 PM
Subject: [PHP] Login form + User level access
Hello Andre,
Thank you so much, Now I really get the idea.
Oh, can I replace that adding inthe table of access_level a field called:
'
an...@oire.org
> CC: carlos_s...@hotmail.com; php-general@lists.php.net
> Subject: Re[2]: [PHP] Login form + User level access
>
> Hello Carlos,
>
> What I forgot to add is the following:
> I'd suggest you to put in the integers and not the strings
>
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original message -
From: Andre Polykanine
To: Carlos Sura
Date: Tuesday, June 29, 2010, 11:04:53 PM
Subject: [PHP] Login form + User lev
the idea to get example
codes, to base on it, asking : how do I get to london?, not how do I drive a
car?
Thanks.
Carlos Sura.
> Date: Tue, 29 Jun 2010 15:58:10 -0400
> To: carlos_s...@hotmail.com; php-general@lists.php.net
> From: tedd.sperl...@gmail.com
> Subject: Re: [PHP] Log
from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
----- Original message -
From: Carlos Sura
To: php-general@lists.php.net
Date: Tuesday, June 29, 2010, 10:46:14 PM
Subject
At 7:46 PM + 6/29/10, Carlos Sura wrote:
Hello everyone.
I have this question: I'm developing a login system but what I need
is to do is access levels
I mean, in my database I have this users:
Admin
Superusers
sales
purchase
etc
So, What I do basically need is, when a user from sales lo
Hello everyone.
I have this question: I'm developing a login system but what I need is to do is
access levels
I mean, in my database I have this users:
Admin
Superusers
sales
purchase
etc
So, What I do basically need is, when a user from sales log in.. I want him to
see just the menu from
8 matches
Mail list logo