Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~381 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Ana_2

i want to add another function for level of access in this code. admin=3 artist=2 client=1. like that. but need some help to to that :( thankyou in advance (: <?php include('password.php'); class User extends Password{ private $_db; function __construct($db){ parent::__construct(); $this->_db = $db; } private function get_user_hash($username){ try { …

Member Avatar for fireburner29
-1
232
Member Avatar for Ana_2

<?php $id=$_GET['memberID']; $result = mysql_query("SELECT * FROM members WHERE memberID='$id'"); while($row=mysql_fetch_array($result)){ $user=$row['userlevel']; if ($user==3){ ?> <font size="2" style="postion:relative; top:0px; left:30px; "> Hi <?php echo $row['username']; ?>!   <a href="logout.php" style="text-decoration: none">Logout</a> <font style="position:relative; top:0px; right:-500px;" size="2" color="#1491C6 "> <?php }else{?> <font size="2" style="postion:relative; top:0px; left:30px; "> Hi Guest!   <a href="login" style="text-decoration: …

Member Avatar for diafol
0
149