Dont worry the whole username thing will be changed once i get it working like i want 😃 Ok so i think my code pretty much is like yours now:
$post = "SELECT username FROM post";
$post2 = mysql_query($post);
$num=mysql_num_rows($post2);
$i=0;
while ($i<$num)
{
$get="SELECT id,username,topic,timeset FROM post ORDER BY UNIX_TIMESTAMP(timeset) DESC LIMIT $i, $num";
$get2=mysql_query($get);
while ($username=mysql_fetch_array($get2))
{
echo "<tr><td>";
echo $username['username'] . "<br>Posted: " . $username['timeset'];
echo "</td><td> <a href='showthread.php?" . $username['username'] . "=&threadid=" . $username['id'] . "'>" . $username['topic'] . "</a></td></tr>";
}
$i++;
}
BUT i still have an issue. It repeats the out put over and over and over.
EDIT:
ok i think i found the pattern for the repeating.
list of topics, with repeat:
topic1
topic2
topic3
topic4
topic5
topic2
topic3
topic4
topic5
topic3
topic4
topic5
topic4
topic5
topic5
EDIT:
I got it to work...i took out the second while loop:
while ($username=mysql_fetch_array($get2))
//is now this
$username=mysql_fetch_array($get2);
[/COLOR]