Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $resultfora = mysql_query("SELECT * FROM hoofdfora");
- while($fora = mysql_fetch_array($resultfora))
- {
- echo "<tr>";
- echo "<th colspan=\"2\">";
- echo "$fora['name']";
- echo "</th><th width=\"30%\">Laatste bericht</th>";
- echo "</tr>";
- $resultalgemeen = mysql_query("SELECT * FROM algemeenfora WHERE hoofd = '".$fora['Id']."'");
- while($row = mysql_fetch_array($resultalgemeen))
- {
- echo "<tr><td class=\"table_image\" width=\"30px\"><img src=\"stats.gif\"></td><td class=\"table_category\">";
- echo "<a href=\"#\">".$row['name']."</a>";
- echo "<p>".$row['description']."</p>";
- echo "</td><td class=\"table_last\"><a href=\"#\"><p style=\"float: left;\">Welkom allemaal!</p></a><br><div style=\"float: left;\">Door: Jan</div><div style=\"float: right;\">Vandaag 19:18</div></td>";
- echo "</tr>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement