Try something like this:
function Newest_Member() {
// The Newest Member display
global $config;
if($config[shownewestuser]) {
$result = mysql_query("select uname from ps_users order by uid desc");
}
if($result) {
list($newest_user) = mysql_fetch_row($result);
echo sprintf(translate("Welcome %s, He is our newest user"),$newest_user);
}
}
I wrote this code for a project called pslash found at pslash.com and it selects the last member added to the database and I am sure you can change it to select all the data of the list entry and display it. Hope this helps.