i have recently been working on a login/registration script, and have inserted an option to view currently online users. each online user is inserted into a table which works fine:
i want to try and make every different username linked to the profile page of the corresponding username. the profile page url will be like http://www.shiftysplayground.co.cc/u...='username'.PHP Code:<table width="200" border="1" cellspacing="0" cellpadding="3">
<tr>
<td align="center"><strong><u>Online Users</u></strong></td>
</tr>
<?php
while($rows=mysql_fetch_array($query)){
?>
<tr>
<td><? echo $rows['username']; ?>
<div align="center"></div></td>
</tr>
<?php
}
?>
</table>
just wondering if anyone can help me on this? thanx in advance!



Reply With Quote

Bookmarks