943,174 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 51
  • PHP RSS
Sep 1st, 2010
0

user permission layout

Expand Post »
Hi,
I have 2 level for signup memebr . 1-member 2-supermember
now i send for each user value 1 or 2 to permission.
SQL Table :
id | name | lastname | permission | date | desc | username | password

so in user profile page i have 6 link :
1-add comment
2-edit comment
3-....etc
and 2 information <DIV>1</DIV> <DIV>2</DIV>.

now how to set permission for member only show 3 link for member and not show 2 <DIV> information?
supermember can see full page ! but member can not!
thanks.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
OpenBSD is offline Offline
5 posts
since Aug 2010
Sep 2nd, 2010
0
Re: user permission layout
use php sessions
Reputation Points: 10
Solved Threads: 2
Newbie Poster
CyberSpatium is offline Offline
9 posts
since Sep 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Validation of data
Next Thread in PHP Forum Timeline: help please





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC