user name,user owner,user permission list= 1,4,7,33
and i have a "boss" for every few user's that have the user's permmision and more!
now i make a selec like this :
Code: Select all
SELECT * from myDb where user_owner='".$_SESSIONї'auth']ї'user_name']."'"(beacuse myyabe the worker work;s for another department too,to which his boss dont have access to!)
how do i do that?
thanks i nadvance
peleg