Hello all good day.
I am working on my new project atm, and it requires that registerd users will have rank status, 0 , 1 , 2 , 3 , 4 4=SUPER ADMIN
ok i need so that anyone less than rank 3 can use the registration form.
I cant provode my code as my www is on local host and im away from that pc atm.
so in a nut shell
SELECT rank from users where name = SESSION_['user']
IF rank = < 3
die (you dont have privlage)
Hope you guys can help
g-
I am working on my new project atm, and it requires that registerd users will have rank status, 0 , 1 , 2 , 3 , 4 4=SUPER ADMIN
ok i need so that anyone less than rank 3 can use the registration form.
I cant provode my code as my www is on local host and im away from that pc atm.
so in a nut shell
SELECT rank from users where name = SESSION_['user']
IF rank = < 3
die (you dont have privlage)
Hope you guys can help
g-
Comment