Blasteh
big tits
So, I'm making a different type banlist in my housekeeping. I want the id (of the user) and username to display.
Where it says "rank" I am am going to make it say "Banned?" I want it echo 0/1 or No/Yes.
It's multiple tables, so I'm pretty confused.. Any help possible is great.
Here's the code:
Where it says "rank" I am am going to make it say "Banned?" I want it echo 0/1 or No/Yes.
You must be registered for see images attach
It's multiple tables, so I'm pretty confused.. Any help possible is great.
Here's the code:
Code:
<div class="module-body">
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>Username</th>
<th>Rank</th>
</tr>
</thead>
<?php
$getUsers = mysql_query("SELECT id,username,rank FROM users");
while(($users = mysql_fetch_array($getUsers)))
{
echo "<tr><td>" . $users['id'] ."</td><td>" . $users['username'] . "</td><td>" . $users['rank'];
}
?>