View Single Post
Old 02-21-2005, 10:29 PM   #9 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
Then try this:
PHP Code:
$result mysql_query("select * from members order by posts desc limit 10"$DB_CONNECT); 
$counter 1;
while(
$row mysql_fetch_array($result))
{
    echo 
"<b>Selected member " $counter++ . ":</b><br>";
    
print_r($row);
    echo 
"<hr>";
}
mysql_free_result($result); 
Just to give you an idear, if it is posible to fetch anything from the database.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote