There's 2 ways you could do a Table, that I know of.
I'm assuming you know how to query sql? If not, we have a bit of work to do :s
You might want to follow this little tutorial I have used to get myself going, just with a site that people can login to:
http://php.about.com/od/finishedphp1/ss/php_login_code.htm
One solution would be in full php, using echo to display the table, and using variables in the cells.
Option 1. - Full php:
$check = mysql_query("SELECT * FROM users")
or die(mysql_error());
echo "<p align='center'> </p>";
echo "<p align='center'> </p>";
echo "<table border='1' align='center'>";
echo "<tr><th width='90' align='center'>Username</th>";
echo "<th width='120' align='center'>Name</th>";
echo "<th width='70' align='center'>Status</th></tr>";
while($users = mysql_fetch_array( $check )){
$username = $users['username'];
echo "<tr><td align='center'>";
echo "<a href='$username'>$username</a>";
echo "</td><td>";
echo $users['name_f'] . " " . $users['name_l'];
echo "</td><td>";
echo $users['status'];
echo "</td><td width='50' align='center'>";
echo "<a href='/edit_users.php?name=$username';>Edit</a>";
echo "</td></tr>";
}
echo "</table>";
You will notice with the above code that one line sets up the cell with <tr> & <td> tags, the next line displays the data, then the next line closes the </td> and opens the next one. Not a rule, just a preference, to keep them more readable.
The second way is to use normal HTML for a table, and just encapsulate the data you want from the sql query in <?php ?> - piece by piece. Here... you'll see what I mean:
Option 2. - php only where you need it:
<tr><td width="64%" align="right" height="35">First Name:</td> <td><?php echo $user["username"];?></td></tr>
//and so on...
I hope that gets you started.
If you need more code, I have plenty. But you would be better to try to learn what you need, so you can then also trouble-shoot without waiting on forum replies 😃
P.