Here in the attached file shows that my users are not showing but activation and deactivation is showing.
Please help
Thanks in advance
-- Jack
SRC CODE:
I have defined a Conection to my DB
@mysql_connect("URL to DB","My user","MY PASS","DB") or die("Failed to connect to MySQL: " . mysql_error());
//List Users mysql_select_db("a4823842_1"); $list_query = mysql_query("SELECT * FROM username"); while($Users = mysql_fetch_array($list_query)){ $u_username = $Users['username']; $u_type = $Users['type']; ?> <tr><td class='listuseradmin'><?php echo $Users['username']; ?></td><td><?php if($u_type == 'a'){ echo '<a href="">Deactivate</a>'; } else{ echo '<a href="">Activate</a>'; } } } ?> </td> </tr> </table>