Code:
     $userq = "SELECT real_name
     FROM users
     WHERE user_name='$PHP_AUTH_USER' ";
$user = mysql_query($userq);

echo "<P><font color=\"purple\" face=\"arial\" size=\"-2\">Welcome, $user </font></p>";
The above is not working in my script . The PHP_AUTH_USER variable is present and recognised, but when run, the echo reads "Welcome, Resource id #3" .

What am I doing wrong??

Be gentle, I'm venturing beyond hand holding script land.....

H