http://blumoney.latestdot.net/profile.php?username=Jono
get it?
the stuff at the bottom is going out of the desired width
Help please:
<?php
include("head.php");
include("config.php");
$username = $_GET['username'];
$query = " SELECT money, avatar, aboutme FROM users WHERE username = '".$username."'";
$result = mysql_query($query) or die(mysql_error());
echo mysql_error();
list($money, $avatar, $aboutme) = mysql_fetch_row($result);
echo '
<table width="700"><tr><td><p><font size="+3">'.$username.'</font></p>
</td><td><p align="right"><font size="+2">'.$money.' Blubucks!</font></p></td></tr><td>
Avatar:<br />
<img src="'.$avatar.'" witdh="100" height="100"><br />
Options:';
?>
<button onClick="window.open('composemail.php?to=<? echo $username; ?>&subject=Hello!','Compose Mail','width=600,height=400')">
<img src="/images/email_add.png">
</button>
<?
if($username == $id){
echo '';
}else{
?>
<button onClick="window.open('reward.php?username=<? echo $username; ?>','Rewarding','width=600,height=400')">
<img src="/images/award_star_gold_3.png">
</button>
<?
}
echo '</td>
<td>About me:<br />
'.$aboutme.'<br />
</td></tr><tr>
';
echo '<td colspan="3">Stuff I own!:<br />';
echo '<table width="300"><tr><td>';
$query = " SELECT itemname, itemimage, itemid, costed, itemdescri FROM purchases WHERE purchasedby = '".$username."' ORDER BY `purchases` . `purchase_id` " .
" LIMIT 10";
$result = mysql_query($query) or die(mysql_error());
echo mysql_error();
echo '<table width="700"><tr><td>';
while(list($itemname, $itemimage, $itemid, $costed, $itemdescr) = mysql_fetch_row($result)){
echo '<a href="viewitem.php?itemid='.$itemid.'" title="'.$itemname.'<br />'.$itemdescr.'<br />'.$costed.'BluBucks"><img src="'.$itemimage.'" border="0" width="100" height="100"></a>';
}
echo '</td></tr></table>';
?>
</td></tr></table>
What do i change to make it stay in the width of 700?