<?php $threads = '<table><tbody>'; $user = $_GET['username']; $threads .= '<tr><td><a href="threadPage.php?tid='.$row["id"].'">'.$row["title"].'</td></tr>'; } $threads .= '</tbody></table>'; } } ?>
<html> <head></head> <body><?php echo $threads; ?></body> </html>