here is the simple code
CODE
<?php
//Database Info
$host = "#######";
$dbname = "#######";
$dbuser = "#######";
$dbpass = "########";
//Forum Url Must include 'index.php?showuser=' or link will not go to user profile
$url = "http://www.#########.com/forums/index.php?showuser=";
//Don't Edit Below
$con = mysql_connect($host,$dbuser,$dbpass);
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db($dbname, $con);
$result = mysql_query("SELECT * from ibf_members order by posts desc LIMIT 0, 10 ");
while($row = mysql_fetch_array($result))
{
echo "<a href=\"$url".$row['id']."\">".$style;
echo $row['members_display_name'] . "</span></td><td>" . $row['posts'];
echo "</a>";
}
mysql_close($con);
?>
//Database Info
$host = "#######";
$dbname = "#######";
$dbuser = "#######";
$dbpass = "########";
//Forum Url Must include 'index.php?showuser=' or link will not go to user profile
$url = "http://www.#########.com/forums/index.php?showuser=";
//Don't Edit Below
$con = mysql_connect($host,$dbuser,$dbpass);
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db($dbname, $con);
$result = mysql_query("SELECT * from ibf_members order by posts desc LIMIT 0, 10 ");
while($row = mysql_fetch_array($result))
{
echo "<a href=\"$url".$row['id']."\">".$style;
echo $row['members_display_name'] . "</span></td><td>" . $row['posts'];
echo "</a>";
}
mysql_close($con);
?>
Basically it works fine, however it show the forum names like this
name1name34
and i want it to show like this
name 1
name 34
i would highly apreciate the help