Heey, Ik heb een probleem
Zoals je ziet zie je berichten reacties totaal heel dicht bij elkaar,
ik wl dat gwn een enter tussen zit
Afbeelding niet beschikbaarDe bron kon niet worden geladen (i51.tinypic.com).Bron openen ↗
Beloning: 0.5
Code
Zoals je ziet zie je berichten reacties totaal heel dicht bij elkaar,
ik wl dat gwn een enter tussen zit
Afbeelding niet beschikbaarDe bron kon niet worden geladen (i51.tinypic.com).Bron openen ↗Beloning: 0.5
Code
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"../besturing.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"besturing.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"boven.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>
<b style=font-size:12pt>Forum lijst</b>
<br><br>
[COLOR= #0000BB]<?php
$Fora[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT ID,Naam,Beschrijving,Berichten,Reacties FROM Forum ORDER BY Naam,ID"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Fora[/COLOR][COLOR= #007700])) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Er zijn nog geen forum aangemaakt."[/COLOR][COLOR= #007700]);
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<table cellpadding=2 cellspacing=0>
<tr><td><b>Forum</b></td><td><b>Berichten</b></td><td><b>Reacties</b></td><td><b>Totaal</b></td></tr>
<tr>
<td colspan=4> </td>
</tr>"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$TotaalBerichten[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$TotaalReacties[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Forum[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Fora[/COLOR][COLOR= #007700])) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<tr>
<td><a href=forum.php?id=$Forum->ID><b>$Forum->Naam</b></a><br>"[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/nl2br"]nl2br[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$Forum[/COLOR][COLOR= #007700]->[/COLOR]Beschrijving[COLOR= #007700]).[/COLOR][COLOR= #DD0000]"</td>
<td align=right>$Forum->Berichten</td>
<td align=right>$Forum->Reacties</td>
<td align=right>"[/COLOR][COLOR= #007700].([/COLOR][COLOR= #0000BB]$Forum[/COLOR][COLOR= #007700]->[/COLOR]Berichten[COLOR= #007700]+[/COLOR][COLOR= #0000BB]$Forum[/COLOR][COLOR= #007700]->[/COLOR]Reacties[COLOR= #007700]).[/COLOR][COLOR= #DD0000]"</td>
</tr>
<tr>
<td colspan=4> </td>
</tr>"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$TotaalBerichten[/COLOR] [COLOR= #007700]+=[/COLOR] [COLOR= #0000BB]$Forum[/COLOR][COLOR= #007700]->[/COLOR]Berichten[COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$TotaalReacties[/COLOR] [COLOR= #007700]+=[/COLOR] [COLOR= #0000BB]$Forum[/COLOR][COLOR= #007700]->[/COLOR]Reacties[COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<tr>
<td><b>Totaal</b></td>
<td align=right><b>$TotaalBerichten</b></td>
<td align=right><b>$TotaalReacties</b></td>
<td align=right><b>"[/COLOR][COLOR= #007700].([/COLOR][COLOR= #0000BB]$TotaalBerichten[/COLOR][COLOR= #007700]+[/COLOR][COLOR= #0000BB]$TotaalReacties[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]"</b></td>
</tr>
</table>"[/COLOR][COLOR= #007700]);
}[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"onder.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>