Hey, here's the code:
This is what's displayed:PHP Code:
echo ('<center>Welcome <b> $logged[username] </b><br /></center>
Welcome $logged[username]
It should be like 'Myke' or w.e their name is.
and then...
Which displays as:PHP Code:
echo ('<a href="members.php?user=$user[username]">$user[username]</a><br />');
$user[username]
Which should display a username.
Just an add on to the second one:
PHP Code:
{
$getuser = mysql_query("SELECT * from users order by id asc");
while ($user = mysql_fetch_array($getuser))
{
// gets all the users information.
echo ('<a href="members.php?user=$user[username]">$user[username]</a><br />');
// links to a page to view the user's profile.