i cant figure it out but when this code is executed my template screwes up?
<?php
include "../config.php3";
include "../dbconnect.php3";
include "bbcode.php";
include "test.php";
include "namefunction.php";
echo "<table border=1><tr><td>PM Id</td><td>Sent To</td><td>Sent By</td><td>Sent On</td></tr>";
$a = "SELECT * FROM $table4";
$rows = mysql_query($a) or die (mysql_error());
while ($b = mysql_fetch_array($rows)or die(mysql_error())){
$pmid = $b['id'];
$pmto = $b['pmto'];
$pmfm = $b['from'];
$pmsa = $b['sentat'];
$pmmg = nl2br(bbcode_format($str));
$to = gettoname($pmto);
$from = getfromname($pmfm);
$_SESSION['userauth'] = 'Admin';
echo "<tr><td><a target=blank href=\"http://www.global-european.com/myphpwcms/read_pm.php?pmid=$pmid&auth=Admin\">$pmid</a></td><td>$to</td><td>$from</td><td>$pmsa</td></tr>";
}
echo "</table>";
?>

ive looked at the template and ther eis no spaces or anything and its only this page it does it on?