When someone is posting my forum it looks like the attached file with name, post and date next to eachother.
How can i put
Name
Date
Post
in this order ???
Thanks
if ( $ac == "2" ){
echo $kop2;
$select = "SELECT * FROM minibb_posts where forum_id = $fnr and topic_id =$tnr ORDER BY post_id asc";
$query = mysql_query($select)or die(mysql_error());
while($list = mysql_fetch_object($query)){
$naam = $list ->poster_name ;
$text = $list ->post_text ;
$pnr = $list ->post_id;
$post_time = $list->post_time ;
$poster_id = $list->poster_id ;
$tnr = $list->topic_id;
$select1 = "SELECT * FROM dt_profile where member_id = '$naam'";
$query1 = mysql_query($select1)or die(mysql_error());
while($list = mysql_fetch_object($query1)){
$naam2 = $list->id; }
$text = UBBtoHTML($text);
echo "<tr><td><li></li></td><td><a href='index.php?page=view_profile&id=$naam2'> $poster_id </a></td><td>$text</td><td>$post_time</td></tr>";
}
echo $einde;