Location: PHPKode > projects > Tcpdb > tcpdb/user/list_user.php
<html>
<table border="0">
<tr>
	<td><font face='verdana' color='#00066' size=2><strong>Username</strong></td>
	<td><font face='verdana' color='#00066' size=2><strong>Full Name</strong></td>
	<td><font face='verdana' color='#00066' size=2><strong>Edit</strong></td>
	<td><font face='verdana' color='#00066' size=2><strong>Delete</strong></td>
</tr>

<?php

require '../config.php';

 $sql = mysql_query("SELECT * FROM user order by username");

    while ($res = mysql_fetch_array($sql)) {
		       $user_id = $res["user_id"];
					 $username = $res["username"];
					 $password = $res["password"];
					 $fullname = $res["fullname"];
      

    print "<tr>\n";
		echo "  <td><font face='verdana' color='#00066' size=2>$username</td>\n";
		echo "  <td><font face='verdana' color='#00066' size=2>$fullname</td>\n";
		echo "  <td><font face='verdana' color='#00066' size=2><a href=\"edit_user.php?user_id=$user_id&username=$username&password=$password&fullname=$fullname\">Edit";
		echo "  <td><font face='verdana' color='#00066' size=2><a href=\"query_del_user.php?user_id=$user_id\">Delete";
    print "</tr>\n\n";

    }
?>

Return current item: Tcpdb