parse error?
all you need to do is to change the assignment operator to the concatenation assignment operator.
I presume you took my code wholesale, which um, is a little silly.
The resultant script should be:
<?php
$name = $HTTP_COOKIE_VARS['user'];
$con = mysql_connect("localhost","","") or die(mysql_error());
$db = mysql_select_db("pinehead",$con) or die(mysql_error());
$sql = "SELECT * FROM we where user='$name'";
$result = mysql_query($sql) or die(mysql_error());
//for debugging
echo 'Result Count: "' . mysql_num_rows($result) . '"<br>';
//end debugging
while ($row = mysql_fetch_array($result)) {
$body = $row['body'];
$subject = $row['subject'];
$table .= '<table border="0" cellpadding="1" cellspacing="1" width="90%">
<tr>
<td bgcolor="#eeeeee">' . $subject . '</td>
<td bgcolor="#eeeeee" align="right">Delete - Edit</td>
</tr>
<tr>
<td bgcolor="lightblue">' . $body . '</td>
</tr>
</table>';
}